Geert,
I'm not sure exactly where you're going wrong but try creating the db first, then import your existing tables. Your situation may be a bit different but the (now deprecated) function for creating a new db is
mysql_create_db('new_db_name');
In context the script could look something...
In case you still need some help with this...
Part A: Exporting a Database
1. Log-in to phpMyAdmin. (It can be accessed from Your CPannel>MySQL Databases>phpMyAdmin)
2. Click on your old database you want to export, then wait for the right frame to load.
3. Click on the EXPORT tab at the top...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.