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
时间: 2024-10-28 11:33:00