- I have mysql server on computer A (ip 192.999.1.1)
- Computer B is connected via wlan (Computer name: Vostro; ip 192.999.1.2)
- Both machines are running Kubuntu 14.04
- I want B to access mysql on A
Here is what I have done so far:-
- Comment out bind-address in /etc/mysql/my.cnf
- mysql> create user Vostro@192.999.1.2 identified by 'xxxxx';
- Grant permission. mysql> GRANT ALL ON . TO Vostro@'192.999.1.2' IDENTIFIED BY 'xxxxx';
- Restart computer A
When trying to access 'A' from 'B':-
~$ mysql -u Vostro -pxxxxx -h192.999.1.1
I get:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
Any ideas?
Have since found this posting which resulted in a working mysql client