January 2018
Intermediate to advanced
446 pages
12h 57m
English
Connecting to the MySQL client can be done with any of the following commands:
shell> mysql -h localhost -P 3306 -u <username> -p<password>
shell> mysql --host=localhost --port=3306 --user=root --password=<password>
shell> mysql --host localhost --port 3306 --user root --password=<password>
It is highly recommended not to give the password in the command line, instead you can leave the field blank; you will be prompted for a password:
shell> mysql --host=localhost --port=3306 --user=root --password Enter Password:
Read now
Unlock full access