Which host and port to use to connect to MySQL

MySQL host (hostname): localhost
MySQL port: 3306

 

  • 46 Users Found This Useful
Was this answer helpful?

Related Articles

How to assign a user to a MySQL database in cPanel

How to assign a user to a MySQL database in cPanel? First you need to log in to the cPanel...

How to delete a MySQL database user in cPanel

How to delete a MySQL database user in cPanel? Once you log in to the cPanel while using your...

Can’t connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

If you receive this error message when connecting to MySQL trough command line on your VPS...

How to check a MySQL database for errors in cPanel

How to check a MySQL database for errors in cPanel? First of all log in to the cPanel by using...

How to Manage a MySQL Database with phpMyAdmin in cPanel

How to Manage a MySQL Database with phpMyAdmin in cPanel? In order to manage a MySQL database...