Linix的mysql操作

1. 启动MySql  sudo /etc/init.d/mysql start 2. Warning: World-writable config file '/etc/mysql/conf.d/mysqld_safe_syslog.cnf' is ignored  解决方法:sudo chmod 644 /etc/mysql/conf.d/mysqld_safe_syslog.cnf 
3.
导出数据库数据:进入/usr/share/mysql$ 然后mysqldump -uroot -pabc123_ todos >/home/user/Desktop/todo.sql

你可能感兴趣的:(Linix的mysql操作)