#1044 - Access denied for user

Discussion in 'MySQL' started by ЄxDeus™, Feb 22, 2009.

Thread Status:
Not open for further replies.
  1. #1
    i tried to import a database and i get

    SQL query:

    --
    -- Create schema user331_user3
    --
    CREATE DATABASE IF NOT EXISTS user331_user3;

    MySQL said: Documentation
    #1044 - Access denied for user 'user331'@'localhost' to database 'user331_user3'


    any ideas??

    then i get

    SQL query:

    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

    MySQL said: Documentation
    #1231 - Variable 'sql_mode' can't be set to the value of 'NULL'
     
    ЄxDeus™, Feb 22, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    The first thing you should check is that if you have privilegies to create a new database via phpmyadmin
    if not manually create the db into your cpanel and delete the section of creating db from your sql dump
     
    crivion, Feb 22, 2009 IP
Thread Status:
Not open for further replies.