Neptune Web Hosting

Web Hosting Home l Who We Are l Contact l Customers l Help l Testimonials

Neptune Web Hosting - Affordable UK hosting Packages

Web Hosting
Starter Gold
Business Gold
Professional Gold
Domains
Domain Checker
Features
Support Database

 

FEATURES
Extend Control Panel
Webmail and Email
Free Website Builder
Website Statistics
Site Tools
Free Web Tools
Databases
E-Commerce
CGI Scripts
Virus Protection
Service & Support
Our Technology
Data Centre
Our Guarantees

 

SUPPORT DATABASE
ASP
CGI
Domains
E-Mail
Extend Control Panel
FTP
Frontpage
Glossary
MySQL
PHP
SSH
Web Builder
Website Extras
Website Problems

UK Web Hosting at affordable prices!!

EXTEND

How can I upload my MySQL database?

Method 1 - phpMyAdmin You may use phpMyAdmin to load your database by pasting the SQL script and execute it.

1. Login to phpMyAdmin with a MySQL user that has been given DBA rights to the MySQL database you wish to load.

2. Then click on the SQL tab.

3. Paste the SQL script content into the text area, and click Go. If the SQL script contains a lot of data, you might still get away with this by pasting it bit by bit. If the data is simply too large, see the next section.

Method 2 - mysql command line client Due to the limitations imposed by PHP, phpMyAdmin is unable to load a large MySQL dump data. You can upload the MySQL dump file created by mysqldump --opt -Q dbname to your home directory, and then execute the MySQL client to load it.

This requires you to have SSH Access. To load your sql dump using MySQL, you can use the following command: mysql -h mysqlhost -u mysqlusername -p databasename < dumpfile or cat dumpfile | mysql -h mysqlhost -u mysqlusername -p databasename

Where: mysqlhost - The name of the server where your MySQL database is located.

You can find this out from the Control Panel in the MySQL Database area. mysqlusername - Your MySQL User name as created through the Control Panel.

This User must have DBA rights to the database so it can create / drop tables. databasename - This is the name of your database dumpfile - The file created by mysqldump

 

Neptune Web Hosting - Affordable UK hosting packages for your web site.

 

 
 
 
Copyright ©2004 WWW.NeptuneWebHosting.com E-Mail : webmaster@neptunewebhosting.com - For All Your Web Hosting Needs!