Cheap UK Web Hosting Company, Best Web Hosting UK, Low Cost Web Space, Low Cost Web Site Hosting UK
Cheap UK web hosting and domains from Webant
www.   
check domain availability  
  Home     Services     News     About Us     Support     Members     Pay An Invoice Settle an invoice or renewal notice Place an Order Order cheap UK hosting and cheap UK domain names

 Technical Support


  Support Index

Contact Support
System Status
Glossary

Members Login
Please enter your username and password below.

Username
Password

 

MySQL Databases

MySQL Databases

How do I connect to my database?

The database itself does not exist as a file that you can upload or download using FTP. You can connect to the database in three ways Telnet, ODBC compliant software and via PHP version 3 or later.

Connecting to MySQL via SSH Telnet
You can connect to the server using SSH Telnet, once logged into the system you can access MySQL directly using the following command.

mysql -u username -p databasename

You will then be prompted for the password for the database. This will then place you at the MySQL prompt. For information of the commands that you can use, please refer to the online documentation at the MySQL web site.

Connecting to MySQL via PHP
For direct integration of the database into your web pages for dynamic updates - we provide the HTML-embedded scripting language PHP.

The basic command that you need to use in your PHP script is as follows

$mysql_link = mysql_connect("DOMAIN NAME","USERNAME","PASSWORD");

This is the command needed to connect to the database. For details on the commands needed to handle the database please visit the PHP Web Site.

For further details on using PHP on your web hosting account please visit our PHP page.

Connecting to MySQL using MyODBC and an ODBC database
You can tie a database written in a PC based database package that is ODBC compliant - Microsoft Access, FoxBase and Dbase Pro are all ODBC compliant. To integrate this connection you will require drivers that convert the communication - you can download these drivers for Windows 95/98/ME and Windows NT/2000 from http://www.mysql.com/downloads/api-myodbc.html

The settings that you will require are as follows.

Hostname - Your domain name
MySQL Database Name - the name of the database
Username - database username
Password - database password Port - 3306


<< Back

If you have a question that you cannot find the answer to here, please email support@webanet.co.uk.



 
Domain Name Prices
.co.uk £9.99
.net.uk £9.99
.org.uk £9.99
.com £19.99
.net £19.99
.org £19.99

All domain names include free forwarding services.

Web Hosting Prices
Starter Hosting
5 GB webspace
10 GB bandwidth
10 Mailboxes
£39.99 per annum

Professional Hosting
20 GB webspace
40 GB bandwidth
100 Mailboxes
£59.99 per annum

Business Hosting
50 GB webspace
100 GB bandwidth
1000 Mailboxes
£119.99 per annum

Developer Hosting
100 GB webspace
200 GB bandwidth
2000 Mailboxes
£179.99 per annum

All web hosting accounts include PHP and MySQL.

Cheap UK Domains | Cheap Web Hosting UK | Dedicated Hosting UK | News | About Us | Technical Support | Members Area
Pay An Invoice | Place An Order | Related Resources | Add A Resource
Copyright © 2010 - Webanet. All rights reserved.