Current time: 12-24-2024, 12:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
MySQL said: #1046 - No database selected
Author Message
Diego Offline
Junior Member
*

Posts: 30
Joined: Sep 2009
Reputation: 0
Post: #1
MySQL said: #1046 - No database selected
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..
(This post was last modified: 09-19-2009 11:33 AM by Diego.)
09-19-2009 11:29 AM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #2
RE: MySQL said: #1046 - No database selected
stupid question: you have selected the database?
09-19-2009 02:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Diego Offline
Junior Member
*

Posts: 30
Joined: Sep 2009
Reputation: 0
Post: #3
RE: MySQL said: #1046 - No database selected
hehe.. yes.. this is after I have choosed to import the database.. using root works fine..
thanks
09-19-2009 08:53 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)