Skip to content Skip to site navigation

MySQL Database Hosting

Accounts and storage space for small and medium scale databases

MySQL Database Hosting Service Is Moving to the Cloud

September 18, 2023

The MySQL Database Hosting service provides accounts and storage space to Stanford departments and official university groups on campus to develop and maintain MySQL databases, applications, and services. The MySQL service is not currently available for individual use.

The MySQL service is a shared service and is intended for small- and medium-scale databases. It is not intended for large or heavily used databases, for which a system such as Oracle or a dedicated MySQL server would be more appropriate.

The MySQL service is only available to on-campus applications.  Applications hosted off-campus must provide their own database service.

The MySQL servers run on Linux and have MySQL version 5.5 installed, with version 5.6 due for installation this summer.

Features

  • University IT is responsible for system upgrades and security patches to the operating system and the MySQL software.
  • Up to four daily backups are stored under a private directory called db_private in AFS. You can use the MySQL console or MySQL client commands to export the contents of your database outside of the daily backups. The access information will be mailed to you once you are registered.
  • Supports stunnel 4 connections for access to MySQL.

Designed for

Current faculty and staff; departments, groups, and services

Requirements

  • A full-service SUNet ID.
  • Write access permissions to the AFS directory allocated for your class, department, group, or service.

Data security

May not be used to store High Risk Data, as defined by the Information Security Office.

Rates

Free of charge

Get started

To register for the MySQL service for your group, department, or service web site, please review and agree to the MySQL Service Agreement.

When you have agreed to the terms and conditions, you will be directed to a database setup page. Upon completion of that page, the system will issue you a MySQL user name and initial password.

You can use mysql commands or the MySQL console (MySQL account required) to manage your existing databases. Extensive documentation is available from the MySQL console.

Note: The username and password are encrypted during authentication, so you do not have to worry about the password being seen in clear text while it is transferred between a host and the MySQL server. However, the transfer of database data will be in the clear unless you use stunnel (an SSL tunneling connection). Stunnel adds data encryption when data is transferred between the server and the client.

Get help

  • Administrative Systems maintains the MySQL servers 24 hours a day, seven days a week, except for scheduled outages. For assistance, submit a Help request.
  • University IT does not support MySQL database-management-related questions. You are responsible for such things as database schema design, application debugging, and how to use MySQL.

Learn more

See also

Last modified October 16, 2023