If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
how can i connect mysql server with the server's IP but not localhost?
Now i can use command:
mysql -h localhost -u root -p
connect to mysql server.
But when i use command:
mysql -h 127.0.0.1 -u root -p
or:
mysql -h 10.0.0.1 -u root -p (10.0.0.1 is the IP of mysql server)
i failed,why? and how can do ?