Database Access - MySQL Unix web-hosting clients have the option available to purchase a MySQL database to add functionality to their Web site. What can a MySQL database offer me?
When you recieve your MySQL details you will have been provided with:
To connect to your MySQL database using PERL you would use a connection string similar to: use DBI; $hostname = 'mysql.connect.com.au:99999'; $database = 'testdb'; $user = 'myuser'; $password = 'mypass'; $driver = 'mysql'; $dsn = "DBI:$driver:database=$database;host=$hostname"; $db = DBI->connect($dsn, $user, $password); How do I populate my database? ConnectWeb Unix clients may upload data to their MySQL Database by either using perl/PHP/ASP scripting, or by using FTP to upload a MySQL Dump file, and then using telnet to import the database from the command line. AAPT will not upload clients databases for them, except under very severe circumstances (Eg: databases over 20MB). A fee may be charged for this service. What if I need help writing my queries? Please be aware that AAPT will not provide support for structuring SQL queries in customers scripts. If you are having problems with syntax, we suggest you reference the sample scripts, or look online for help. There are many online resources for clients to use. Some excellent resources that provide examples of syntax are:
Very Large databases mySQL is not suitable for very large databases. If you need very large databases, you may wish to investigate having your own Oracle host computer either Telehoused at AAPT or on your site with an ISDN link back to AAPT. Contact your Account Manager to discuss your options. |
| Copyright © AAPT Limited |
|