Toggle navigation Home Store Browse All ----- Webhosting Domains Quotation (Webdesign Services) eMail Hosting SEO- Search Engine Optimisation GRAPHIC DESIGN Dedicated/ VPS Webhosting BULKSMS Mobi Applications Website Maintenance Register a New Domain Transfer Domains to Us Announcements Knowledgebase Network Status Affiliates Contact Us Account Login Register ----- Forgot Password? Categories 9 CGI Scripts 34 Databases 28 Dedicated Servers 1 DNS 15 Domains 5 eCommerce 79 eMails 27 FTP 1 General Issues 1 MX Records 1 Nameservers 28 Other 104 Scripting 254 Web Hosting Control Panel 9 Web Resources 8 Web Stats & Logs 11 Web Tools 8 Website Help and Diagnostics 4 Windows Hosting Categories CGI Scripts (9) Databases (34) Dedicated Servers (28) DNS (1) Domains (15) eCommerce (5) eMails (79) FTP (27) General Issues (1) MX Records (1) Nameservers (1) Other (28) Scripting (104) Web Hosting Control Panel (254) Web Resources (9) Web Stats & Logs (8) Web Tools (11) Website Help and Diagnostics (8) Windows Hosting (4) [PHP3.01] How can I upload my MySQL database? There are numerous ways to upload a MySQL database, we would strongly recommend trying methods 2 and 3Method 1 – phpMyAdminYou may use phpMyAdmin to load your database by using the Import link to upload a .sql file or by pasting the SQL script into a query window and executing it. For the latter method -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 other sections.Method 2 - Hosting cPanel v7.5 control panel restoreIn the Hosting cPanel v7.5 control panel go to the MySQL Databases page.On this page is the text "To restore a database which you've previously backed up, click here."If you follow the link, you can upload a larger SQL file than would be possible in phpMyAdmin.If the SQL file is very large, please consider one of the other methods belowMethod 3 - MySQL AdministratorMySQL offer free software to manage, backup and restore MySQL databases.The software can restore very large files, and also comes packaged with MySQL Query Browser, which can be used a faster alternative to phpMyAdminYou can download the software at http://dev.mysql.com/downloads/gui-tools/5.0.htmlMethod 4 - MySQL command line clientThis requires you to have SSH Access, which may or may not be available on your particular package.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.To load your sql dump using MySQL, you can use the following command:mysql -h mysqlhost -u mysqlusername -p databasename < dumpfile.sqlorcat dumpfile | mysql -h mysqlhost -u mysqlusername -p databasenameWhere: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.databasename - This is the name of your databasedumpfile.sql - The file created by mysqldump Was this answer helpful? Yes No Print this Article Also Read [PHP3.07] Do you support Blogs on your packages? Yes we do - you'll need to select a package that includes MySQL databases as all major blogging... [PHP3.11] What PHP5 modules do you support? Print NowWhat PHP5 modules do you support?The following modules are available:-MySQL ClientGD... [PHP3.12] How do I connect to another database on another server from my PHP script? A connection is made to a database with the usual... [PHP3.14] Can I change php.ini settings under my Windows hosting account? You can put a php.ini file in your FTP directory root (below the public_html directory) otherwise... [PHP3.15] How do I edit php.ini (PHP settings) for my hosting package? Becuase of the way in which we run PHP, you are able to customise its behaviour with php.ini... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...