The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DROP TABLE IF EXISTS `alerts

Discussion in 'Database Discussions' started by Alim Sabree, Nov 30, 2011.

  1. Alim Sabree

    Alim Sabree Registered

    Joined:
    Nov 21, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Trenton, New Jersey, United States
    cPanel Access Level:
    Website Owner
    m tring to import a table that i downloaded from cpanel,,,i cant get past this part, help me,,,lol

    im using WampServer 2.2
    Apache 2.2.2
    PHP 5.2.0
    MySql 5.5.16
    phpmyadmin 3.4.7.1


    Error

    SQL query:

    --
    -- Table structure for table `alerts`
    --
    DROP TABLE IF EXISTS `alerts` ;

    MySQL said: Documentation
    #1046 - No database selected
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It appears you aren't selecting the database to drop the table. Are you in PhpMyAdmin and actually have selected the database prior to issuing the SQL command?
     
  3. Vinil

    Vinil Registered

    Joined:
    Jan 16, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    may be you need to use proper query syntax for retrieving table
     
Loading...

Share This Page