[OT] phpmyadmin -- trouble importing

Kevin Cozens kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Mon Dec 20 07:52:51 UTC 2010


sciguy-Lmt0BfyYGMw at public.gmane.org wrote:
> MySQL said: Documentation
> #1046 - No database selected

The error tells the story. You told it to import a file with SQL statements 
but haven't told it which database it is to operate on.

Click the home button in phpMyAdmin. Left click one of the databases listed 
on the left side of the screen to select an existing database. If you want 
to import the data in to a new database, enter a name in the entry field 
below "Create new database", set the collation entry the way you want, then 
hit the create button. The new database will be created and selected.

Once you have selected a database you can click the Import tab and import 
the file containing the dump of your database.
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list