The MySQL database server is a very robust, SQL based platform that is provided for use with the standard or higher plans. It is often utilized as a data source for Web sites requiring dynamic content. The languages most often used to interface with the database server are Perl and PHP, however, C, C++, and Python among others may also be used. The official MySQL Web site may be found at: http://www.mysql.com
Creating/Deleting/Editing Databases and Users All administration of your MySQL databases and users can be done through our convenient web based phpMyAdmin interface. This program is provided to all of our Web hosting customers. It is available in your Control Panel (CP). For help with this tool check out the phpMyAdmin documentation.
Connecting to MySQL through Telnet Use the following outline to connect and begin querying the MySQL server
from a Telnet session.
Connecting to MySQL through Perl using the MySQLPerl Module Use the following outline to connect and begin querying the MySQL server
from a Perl script.
Connecting to MySQL through PHP Use the following outline to connect and begin querying the MySQL server from within your PHP scripts. Remember that you cannot connect to your databases remotely due to security reasons. You can only connect to them form localhost.
Restrictions and other information The following restrictions are currently affective regarding all of our webhosting accounts:
The Official MySQL Documentation The official MySQL documentation may be found at: http://www.mysql.com Other useful information about MySQL may be found at the following locations:
There are two main ways to back up or restore a MySQL database on our servers: via SSH Telnet access or the phpMyAdmin interface. If you need SSH Telnet access, just send us a ticket with your request to be enabled for it, and if you'd like more information about how to connect to our servers with it, just visit our SSH Telnet support page. To access the phpMyAdmin interface, click on the "mySQL Databases" link and then "phpMyAdmin" on your control panel. How to back up a mySQL database using SSH Telnet: Log into your account on our server and issue the following command: [This is all one command line!]
$ indicates a variable, so instead of entering $user, you'll enter your actual user name for your account. Your mySQL username and password are usually the same as the ones that you use to access your control panel. For example, your actual command might look like this:
How to restore a mySQL database using SSH Telnet: Log into your account on our server and issue the following command: [This is all one command line!]
How to back up a mySQL database using phpMyAdmin: Click on your database name shown on the upper left. Go to the section called "View dump (schema) of database" and choose options for backing up structure only, structure and data, or adding drop tables. To view what your backup file will look like, click on the "Go" button. When you're ready to send your back up to a file, check the send box and click "Go", then follow the prompts for how to name the file and where to send it. How to restore a mySQL database using phpMyAdmin: Click on your database name shown on the upper left. Locate your back up file for the database that you want to restore. Open it and copy the entire contents. Paste into the field called "Run SQL query/queries on database yourdomain_com" and click the "Go" button.
|