This page describes a variety of methods for connecting to your MySQL database using a MySQL client, including through a web browser, a graphical user interface (GUI) client, and from the command line.
You can access the ITS MySQL servers using phpMyAdmin from your browser.
Note: Access to the ITS phpMyAdmin site is restricted to the UT Campus network and the UT VPN.
phpMyAdmin allows you to create, modify, query, and drop tables within your database(s). More information about phpMyAdmin can be found in the phpMyAdmin Documentation.
To connect to the ITS phpMyAdmin site:
Click the Go button to log in.
There are a variety of MySQL GUI clients that can be used to manage your databases. One popular tool is MySQL Workbench, which is available for Windows, Linux, and macOS. If you need assistance installing MySQL Workbench, contact your system administrator.
Note: Access to the ITS MySQL servers is restricted to the UT Campus network and the UT VPN.
To connect using MySQL Workbench:
The MySQL command line is a simple SQL shell that allows you to manage your database(s). More information about the MySQL command line tool can be found in the MySQL Reference Manual.
Linux
From a Linux system, you can connect to your MySQL database with the command line built into the MySQL client.
Note: Access to the ITS MySQL servers is restricted to the UT Campus network and the UT VPN.
To connect with the MySQL command line:
mysql -u <user> -p -h <host> -P <port>
If your connection does require SSL:
mysql -u <user> -p -h <host> -P <port> --ssl-ca=<ca-cert>
Where the options above are:
For ease of use, you can shorten the connection string in two ways:
Use an encrypted login path file created by the mysql config editor tool (preferred).
Create a login path entry (you will be prompted for your password):
mysql_config_editor set -u <user> -p -h <host> -P <port> -G <name>
Log in using the login path entry (you will not be prompted for your password since it is now contained within the encrypted login path file):
mysql --login-path=<name> <database>
Add an alias to your shell profile.
alias <name>=“mysql -u <user> -p -h <host> -P <port> <database>”
Windows
From a Windows system, you can connect to your MySQL database with the command line built into MySQL Workbench.
Note: Access to the ITS MySQL servers is restricted to the UT Campus network and the UT VPN.
To connect with the MySQL command line: