MySQL 8.4 · Connecting
Connect to a specific host and database
Open the client on a given host, port and database.
mysql -h 127.0.0.1 -P 3306 -u root -p mydb
Official MySQL 8.4 documentation
MySQL 8.4 · Connecting
Open the client on a given host, port and database.
mysql -h 127.0.0.1 -P 3306 -u root -p mydb
Official MySQL 8.4 documentation
Was this page helpful?