Answers for "mysql command host port"

SQL
11

how to see what port mysql is running on

mysql -u root
mysql> SHOW GLOBAL VARIABLES LIKE 'PORT';
# Default port is 3306 for MySQL
Posted by: Guest on May-15-2021
6

mysql remote connection command line

mysql --host=localhost --user=myname --password mydb
Posted by: Guest on February-18-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language