mysql 在linux下的问题。

来源:互联网 发布:广告字体在线设计软件 编辑:程序博客网 时间:2024/05/29 03:14

在linux下加载,win的共享目录
如: mount -t smbfs -o username=coder4  //192.168.2.12/tools /mnt/soft/

linux下查找文件 find / -name mysql

rpm 查询 rpm -qa|grep mysql
rpm 卸载 rpm -e mysql-3.23.49-3

rpm 装载 rpm -i your-package.rpm

mysql 连接数据库:

mysql -h 192.168.2.22 -u root -p
then input password:****
this ok...:)

use mysql
insert user(host,user)values('%','root');

then can access from remote. 

原创粉丝点击