Results 1 to 3 of 3

Thread: MySQL Error

  1. #1
    Join Date
    Feb 2004
    Posts
    3

    Unanswered: MySQL Error

    I had installed mySQL database in my Windows XP machine. When I tried to create a database I am getting the following error. I have my.ini file in my \windows directory. The userid and password are blank. I tried with default user id ODBC and local host my computer name but does not work. How to change the privileges and fix the problem ?

    Can someone inform me ASAP ?


    ==============Error message ======================
    C:\mysql\bin>mysqladmin create database store
    mysqladmin: CREATE DATABASE failed; error: 'Access denied for user: ''@'localhost' to database 'database''
    ============================================

    Krishna

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: MySQL Error

    Originally posted by skm105
    I had installed mySQL database in my Windows XP machine. When I tried to create a database I am getting the following error. I have my.ini file in my \windows directory. The userid and password are blank. I tried with default user id ODBC and local host my computer name but does not work. How to change the privileges and fix the problem ?

    Can someone inform me ASAP ?


    ==============Error message ======================
    C:\mysql\bin>mysqladmin create database store
    mysqladmin: CREATE DATABASE failed; error: 'Access denied for user: ''@'localhost' to database 'database''
    ============================================

    Krishna
    Check the documentation on http://www.mysql.com

  3. #3
    Join Date
    Feb 2004
    Posts
    3

    Re: MySQL Error

    Originally posted by ika
    Check the documentation on http://www.mysql.com
    Somebody wrote to me to check the documentation. But mysql documentation did not provide any answers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •