if you want to allow a user called 'myuser' to connect from any host with the password 'mypassword' :
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
if you want to allow a user called 'myuser' to connect from your station with the password 'mypassword' :
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.3' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
Main Topics
Browse All Topics





by: madwaxPosted on 2004-05-19 at 01:25:44ID: 11106092
The problem is that your user is not allowed to connect from that host. By default all users are only allowed to connect from localhost, i.e. the same computer. A soultion could be to log in through localhost and change the user to be allowed to login from all domains (i.e. change the host-field in user-table in the mysql-database from localhost to %).
//madwax