problem with import database Posted by sergrlager 10 Apr 2012 21:00 GMT-0000 posts: 124 i tried import database to another hosting, i use documentation tiki to do export correctly and i had an error when i try to import database: here a printscrin: Снимок1.png (12.39 Kb)
Posted by Tom Jarvis 12 Apr 2012 05:22 GMT-0000 posts: 215 You have to create the database and a user before you import. If you have already created the database and have a user defined, then you can fix the problem by either: 1) Selecting the database before selecting the import option in phpmyadmin. The phpmyadmin heading has to be something like "localhost databasename", you have to do this so it knows which database to import the data into. or 2) Edit the text of the mysql dump and add the following line before any other mysql statements: Copy to clipboardUSE databasename; That line will tell mysql which database to import the data into.
Posted by sergrlager 12 Apr 2012 08:47 GMT-0000 posts: 124 the database on my hosting is "information_schema" i add to dump file this line USE information_schema; and have this error when i tried to import it: 1109 - Unknown table 'messu_archive' in information_schema
Posted by Tom Jarvis 12 Apr 2012 16:02 GMT-0000 posts: 215 You should not be using information_schema, that database is for use by MySQL. You need to create a new database and a database user. Check out Rick's TikiForSmarties.com, it describes how to create the database and the database user here: Creating the Database.