You need to enable the user permission in Ubuntu7.10 and bind it to the mysql local machine. 1. Open the user permission under the command line: grantallprivilegesondrupal. * touser@192.168.1.80identifiedby 'user-password'; In the administrator interface, you can add access permissions through user management addhost-& gt; anyhost (by default, root users can only access the local machine, the newly added user can
You need to enable user permissions in Ubuntu7.10 and bind them to the mysql local machine.
1. Open the user permission under the command line: grant all privileges on drupal. * to user@192.168.1.80 identified by 'user-password ';
On the administrator interface, you can add host-> any host through user management to add access permissions (by default, root users can only access the local machine, and new users can remotely)
2. Cancel the mysql local binding:
Edit/etc/mysql/my. cnf
# Instead of skip-networking the default is now to listen only on
# Localhost which is more compatible and is not less secure.
Bind-address = 127.0.0.1
Annotate "bind-address = 127.0.0.1"
Sudo/etc/init. d/./mysql restart to remotely access.