Solved

Initial setup and configuration of MySQL on XP SP2

Posted on 2006-06-14
7
263 Views
Last Modified: 2012-06-27
Hello,

I'm having a devil of a time installing MySQL for the very first time so that it hooks into ODBC. I assume this is the way to do it if I'm ultimately trying to setup a data bind for Dreamweaver MX 04.

When I am in the ODBC config area, I see my recently installed MySQL ODBC driver 3.51.12. If I select that to add to ODBC stack, the config screen comes up, but when i try to add the database (which I had just created successfully in the Command window) I'm getting an error:

Request returned with SQL_ERROR

If I hit the Diagnostics button in the ui, it reads:

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

or

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

I've tried it both ways with the only password I've indicated during initial setup of MySQL.

Can you tell I'm a total newb? Help!

Thanks

Bill
0
Comment
Question by:billium99
7 Comments
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 16908731
What is the username for your only password? It looks like MySQL expects an account to exist with user name of  ODBC.
0
 
LVL 1

Author Comment

by:billium99
ID: 16908748
Thanks - yeah I didn't give any user name during setup so I believe it defaulted to ODBC. I've tried with and without including this as my user name.

Bill
0
 
LVL 30

Accepted Solution

by:
todd_farmer earned 500 total points
ID: 16908769
Try it with using "root" as your user name (leaving the password blank).
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 5

Expert Comment

by:Z03niE
ID: 16908862
I would suggest that you create a new user for the connection.
Also with host '%'. The first root user is for localhost.So you won't be able to connect from another PC with root@localhost.
0
 
LVL 1

Author Comment

by:billium99
ID: 16908884
root as the user name did it! Now for some reason in Dreamweaver I'm still having an issue binding to this db instance, but I'll set that as another new question.

Thanks!

Bill
0
 
LVL 1

Author Comment

by:billium99
ID: 16908888
Thanks ZO3niE - would you say that the remote access issue is the only consequence to leaving the user name as root? If so, I won't worry about this for now, but I appreciate the advice.
0
 
LVL 30

Expert Comment

by:todd_farmer
ID: 16908895
It is not the only consequence - the root account is a full-access account.  Leaving it with a blank password is not recommended, nor is using it for anything other than local development.  Probably OK for a dev box (although I would recommend changing it) - definately not secure for a publicly-accessible box.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now