www.webdeveloper.com
Results 1 to 3 of 3

Thread: MySQL database - Adding New Data Source 'Access denied for user'

  1. #1
    Join Date
    Apr 2006
    Posts
    246

    Unhappy MySQL database - Adding New Data Source 'Access denied for user'

    Hello all,

    I am trying to install MySQL on my machine at the moment.

    I have downloaded the file mysql-essential-5.0.21-win32 from the MySQL website and installed it. I then downloaded MySQL Control Center, which came zipped in a folder called mysqlcc-0.9.2-win32.

    I have installed both applications and I have a MySQL database which I have acquired from elsewhere. I copy/pasted it into my C:\Program Files\MySQL\MySQL Server 5.0\data directory, but when I try to add a new database in MySQL CC it doesnt allow me.

    I have also installed the ODBC for MySQL (called mysql-connector-odbc-3.51.12-win32). However, when I try to add a new data source in the Control Panel I get this error:

    [MySQL][ODBC 3.51 Driver]Access denied for user 'versiontwo'@'localhost' (using password: YES)

    versiontwo is the name of the database.
    the database has a password.

    Any ideas? Have i not installed something?

    Thanks in advance.

    Picco

  2. #2
    Join Date
    Aug 2005
    Location
    The Garden State
    Posts
    5,634
    what is the username though? databases don't have passwords in mysql...

  3. #3
    Join Date
    Apr 2006
    Posts
    246
    the username is 'versiontwo'. i can access the database using command line in windows (Start>Run>'cmd'>mysql etc. etc....)

    heres a link to my screenshot of what i am trying to do in the ODBC...
    http://img397.imageshack.us/img397/3029/odbc1iu.jpg

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles