MySQL command

connect

mysql -u[username] -p[password]

restore to existing database

mysql -u[username] -p[password] [db_name] < [db_file].sql

dump existing database to .sql

mysqldump -u[username] -p[password] [db_name] > [db_file].sql
创建时间:6/25/2022 11:47:22 PM 修改时间:6/25/2022 11:48:21 PM