💾 Archived View for freeshell.de › tldr › mysql.gmi captured on 2024-05-12 at 15:48:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

mysql

The MySQL command-line tool.

More information.

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).

CC-BY