To check the mysql connectivity form any Ubuntu 12.04 server, you have to install the following package first,
apt-get install mysql-client
then type this command and press enter
mysql --host=<IP> -u <username> -p<password>
For example
mysql --host=172.168.10.58 -u admin -padmin123
apt-get install mysql-client
then type this command and press enter
mysql --host=<IP> -u <username> -p<password>
For example
mysql --host=172.168.10.58 -u admin -padmin123
No comments:
Post a Comment