💾 Archived View for freeshell.de › tldr › mysql.gmi captured on 2023-09-28 at 16:42:40. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
The MySQL command-line tool.
mysql {database_name}
mysql -u {user} --password {database_name}
mysql -h {database_host} {database_name}
mysql --socket {path/to/socket.sock}
mysql -e "source {filename.sql}" {database_name}
mysql --user {user} --password {database_name} < {path/to/backup.sql}
mysql --user {user} --password < {path/to/backup.sql}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).