ispCP - Board - Support
MySQL said: #1046 - No database selected - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: MySQL said: #1046 - No database selected (/thread-7897.html)



MySQL said: #1046 - No database selected - Diego - 09-19-2009 11:29 AM

After creating a new MySQL user and trying to import a backup file to a new database, I receive this message:

Quote:SQL query:

-- phpMyAdmin SQL Dump
-- version 2.8.0.1
-- http://www.phpmyadmin.net
--
-- Server: custsql-ipw26.eigbox.net
-- Server version: 5.0.51
-- PHP Version: 4.4.4
--
-- Database: `photopost`
--
-- --------------------------------------------------------
DROP TABLE IF EXISTS `pp_admingroups` ;

MySQL said: Documentation
#1046 - No database selected

Also, note:
Code:
-- PHP Version: 4.4.4
is that ok?
restarted mysql and works fine for the import... still want to know about the php version showing up..


RE: MySQL said: #1046 - No database selected - theprincy - 09-19-2009 02:53 PM

stupid question: you have selected the database?


RE: MySQL said: #1046 - No database selected - Diego - 09-19-2009 08:53 PM

hehe.. yes.. this is after I have choosed to import the database.. using root works fine..
thanks