Information Services Division runs a MySQL database server (release 5.6.14), intended for the use of departmental web developers, primarily through the use of PHP web pages.
MySQL is a widely-used relational database system, available under the GNU General Public Licence (GPL).
It supports ANSI SQL with some extensions.
Eligibility and registration
Separate registration is necessary to establish a MySQL account.
All departmental web accounts (ie ****www and ****w3*) are eligible for MySQL accounts on request.
If you do not have a departmental web account, you should firstly discuss the requirements with your departmental Computer Representative. If your Computer Representative approves:
- Click on 'Websites, Apps & Databases' (at the bottom of the page)
- Click on 'Departmental web account request' and complete the form
2. Request a MySQL account: email email@example.com giving the required account name and explaining why you need the account, what data will be collected etc. The MySQL account name must be the same as the UCL userID of the owner.
We will then create a MySQL account with your userid, and create an empty database, whose name will also be your userid.
The account will have full privileges on this database, and will also be able to create new databases whose names begin with the userID.
We will also create a less privileged user account, with the name ending in "_user", for example ucabwww_user - this account will have access to the same database, but with only (SELECT, INSERT, UPDATE, DELETE, EXECUTE) privileges.
For security reasons, we recommend that you use this less privileged account in scripts and PHP web pages that will be used by end-users.
The passwords for the two accounts will be e-mailed to you, and you should immediately change the passwords using the MySQL password change form.
The server is mysql-server.ucl.ac.uk. You will be able to connect to it and manipulate data in the tables in your databases from any machine, using the following access methods:
- From PHP code in web pages
- Using web pages created with Dreamweaver MX
- From a PC running Windows using ODBC - in particular, from Microsoft Access
- From phpMyAdmin interface - simply log in with your MySQL id and password (note this is now running the latest version: phpMyAdmin 126.96.36.199, if you have any comments or queries please email firstname.lastname@example.org)
- Using the mysql command-line tool and other Unix commands
- The MySQL Query Browser visual tool is available on Staff WTS
- From C programs on the Solaris Unix service
- From Perl scripts on the UCL web server
- From Tcl scripts on the Solaris Unix service
There is a charge for databases, if you’d like to discuss further please get in touch with the Data Services team at email@example.com
For more information see Request a database.
For all queries about the MySQL service, email firstname.lastname@example.org