Php can connect to remote sql server but command line can't?

Your mysql command line is wrong. Mysql has the funky syntax of.

Your mysql command line is wrong. Mysql has the funky syntax of: mysql -u username -ppassword -h remoteserver.domain.com" rel="nofollow">remoteserver.domain.com instead of mysql -u username -p password -h remoteserver.domain.com" rel="nofollow">remoteserver.domain.com Note the p tag and password placement.

In the second case, MySQL treat "password" as the database schema you are trying to connect. And as I remember, it will give the user the chance to enter password in the next step. – Manjula Weerasinge Jan 6 at 4:16 Correct, if you just issue the -p with no password attached to it, it will prompt for the pw.

– Mark Shust Jan 7 at 18:10.

Turns out that I should do away single quotes in my password for windows-based mysql command instead of mysql -u username -p'password' -h remoteserver.domain.com" rel="nofollow">remoteserver.domain.com this actually works mysql -u username -ppassword -h remoteserver.domain.com" rel="nofollow">remoteserver.domain.com reason why I use single quotes because my password contains non-alpha characters which works in linux but not on windows based command line.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions