文章列表
1.将mysqld作为linux系统服务,加入自动启用列表
(1)/sbin/chkconfig --list|grep mysqld
(2)/sbin/chkconfig --add mysqld
2.remove mysqld from linux system service
(1)/sbin/chkconfig --del mysqld
3.check whether mysql has been started
sudo /ect/rc.d/init.d/mysqld status
TO BE CONTINUED !
1、进入mysql,创建一个新用户root,密码为root:
格式:grant 权限 on 数据库名.表名 to 用户@登录主机 identified by "用户密码";
grant select,update,insert,delete on *.* to root@192.168.1.12 identified by "root";
原先数据表结构
mysql> use mysql;
Database changed
mysql> select host,user,passw ...