Dec 5, 2006
I have tried to export my database as I am changing hosts, but all i get is

Line: 189
Char: 9
Errot: object required
Code: 0

when I do the following

To export a MySQL database follow these steps:
1. Log into your cPanel.
2. Click on MySQL Databases
3. Click on phpMyAdmin at the bottom of the page.
4. If you have multiple databases click on the database you want in the left hand side then click export, if you only have one database just click on export.
5. On the export page you do not have to change anything just click the button to accept.
6. The database should be displayed in SQL queries, you copy that text and it is your database backup.
7. You can run that text as an SQL query on any SQL server and it will recreate your database.


Well-Known Member
May 20, 2003
cPanel Access Level
Root Administrator
Try clicking the link inside the backups section of cPanel for the database you want to download. That should work fine with an average size DB. Or do a full system backup. That will backup all databases as well.

Those instructions IMO, leave out a step or two.

Open PHPAdmin click on name of DB on left.
On right side of page click Export.
In the Export box you see on right frame click select all.
to the right of that click Add Drop Table.
Down below that click Complete Inserts.
Down below that click save as file.
Give it a name, uncheck remember template, click your choice of compression and hit go.

Or back it up the best way via SSH.

mysqldump --opt -Q -u accountname_accountname -p accountname_databasename > /home/accountname/path/to/save/directory/

One of those should get you what you seek.