需要在Ubuntu7.10中打开用户权限和mysql的本机绑定1、在命令行底下打开用户权限:grant all privileges on drupal.* to user@192.168.1.80 identified by "user-password";在管理员界面可以通过用户管理add host->any host来添加访问权限(root用户默认只能访问本机,新添加的用户可远程)2、取消mysql本机绑定:编辑/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将”bind-address = 127.0.0.1“注释sudo /etc/init.d/./mysql restart重启即可远程访问。 Linux系统中卸载NetbackupLinux平台下Oracle9i数据库正确显示中文的设置相关资讯 Ubuntu7.10技巧 mysql技巧
- MySQL 压力测试工具super smack (08/09/2008 07:53:16)
- 从MySQL读取中文数据,显示??? (08/04/2008 06:48:23)
- 修改MySQL的编码为UTF8 (07/30/2008 07:12:49)
| - MySQL服务器网络访问慢问题解 (08/09/2008 07:52:23)
- MySQL服务器上添加一个允许远程访 (08/01/2008 07:31:15)
- 查看MySQL数据库字符集及数据库连 (07/29/2008 08:14:14)
|
本文评论 查看全部评论 (0)