Forrest logo
back to context overview

mycli

List of commands for mycli:

  • mycli:tldr:1e74c mycli: Connect to a database on the specified host with the specified user.
    $ mycli -u ${user} -h ${host} ${database_name}
    try on your machine
    explain this command
  • mycli:tldr:547f9 mycli: Connect to a local database on port 3306, using the current user's username.
    $ mycli ${database_name}
    try on your machine
    explain this command
  • mycli:tldr:903e9 mycli: Connect to a database (user will be prompted for a password).
    $ mycli -u ${username} ${database_name}
    try on your machine
    explain this command
  • mycli:tldr:a2097 mycli: Connect to a database on another host.
    $ mycli -h ${database_host} -P ${port} -u ${username} ${database_name}
    try on your machine
    explain this command
back to context overview