|
ConnectWeb NT - Using MySQL Databases NT 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 ASP you would use a connection string similar to:
<%
myDSN = "Driver={MySQL};DATABASE=mydatabase;SERVER=mysql.connect.com.au;PORT=99999;UID=mycompany;PWD=mypasswd;"
Set DBConnection = Server.CreateObject("ADODB.Connection")
DBConnection.Open myDSN
%>
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 NT clients must upload data to their MySQL Database using perl/PHP/ASP scripting.
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:
|
| Copyright © AAPT Limited |
|