943,539 Members | Top Members by Rank

View Poll Results: What is your opinion of this thread?
We need only eperienced database admin members to respond 0 0%
Both Newbies and experienced database admin members should respond 1 100.00%
Voters: 1. You may not vote on this poll

Ad:
  • MySQL Discussion Thread
  • Unsolved
  • Views: 2319
  • MySQL RSS
Jul 26th, 2008
0

Do you have trouble connecting to mysql database using the odbc mysql 5.1 driver

Expand Post »
Hi, I have noticed that a lot of newbies using MySQL ODBC driver on their Windows often come across difficulties testing the connection despite that they have created the database on their servers. If you can put our members through in step wise fashions, please respond to this tread. It will be of immense benefit to daniweb upcoming database-administartors members.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
emiola is offline Offline
49 posts
since Jul 2008
Jul 26th, 2008
-1

Re: Do you have trouble connecting to mysql database using the odbc mysql 5.1 driver

Why do you use ODBC driver? Just curious, as Java programmer I use JDBC. Also many experienced members and programmers complained about ODBC being very badly written...
Last edited by peter_budo; Jul 26th, 2008 at 5:23 pm. Reason: Spelling
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Jul 27th, 2008
0

Re: Do you have trouble connecting to mysql database using the odbc mysql 5.1 driver

Most
Quote ...
database-administartors
don't use MySql unless it is coordinated with open source (php or java) scripts/languages. In these cases ODBC is not necessary. If MySql won't work with a .net or coldfusion server, who cares. You have enough cash to shell out for a "closed source" server. You might as well flush a bit more down the toilet for a comparable db.
Last edited by buddylee17; Jul 27th, 2008 at 2:59 am.
Reputation Points: 232
Solved Threads: 137
Practically a Master Poster
buddylee17 is offline Offline
665 posts
since Nov 2007
Jul 27th, 2008
0

Re: Do you have trouble connecting to mysql database using the odbc mysql 5.1 driver

Peter,
If you will not mind, I started this thread to elicit responses from advanced pros like you and buddylee17 for the sake of people like me (Hope I didn't sound sentimental).
Peter, as you asked for my reason for using ODBC driver, please remember that I am a newbie. Also, I have oracle xe installed on my system that I used to connect to the oracle 10g xe database and I want to really establish how to link the database with my web visitor form. I installed and configured MySQL on my server and also installed the MySQL ODBC driver (version 5.1). What the problem is now that I couldn't establish a connection, despite that I supplied all the parameters corectly. All I kept getting is "unable to establish a connection: access denied to user". I left that and decided to try the oracle database connection. The connction was succesful however, I couldn't locate the table I created in the oracle database, when I wanted to link tables in the MS Access. The link table process was succesful for the sample HR table in the database as It appeared among the table list. Based on my explanation, the following issues are bothering me:
Issue 1. My desired destination is successful submission of form data from my website to a database (apart from MS Access)

Issue 2. I just sarted out in SQL (which I find stimulating), can some experienced database administrator put me through by pointing me to specific tutorials?
Issue 3. Could buddy_lee17 or someone who understood him better than I, be more explanatory (I mean step-wisely) on his advice. I shall realy be grateful.
Reputation Points: 10
Solved Threads: 1
Light Poster
emiola is offline Offline
49 posts
since Jul 2008
Jul 27th, 2008
0

Re: Do you have trouble connecting to mysql database using the odbc mysql 5.1 driver

Hello,

>>> I installed and configured MySQL on my server and also installed the MySQL ODBC driver (version 5.1). What the problem is now that I couldn't establish a connection, despite that I supplied all the parameters corectly. All I kept getting is "unable to establish a connection: access denied to user".

You should post the original code completely where you try to connect to database via odbc datasource.

>>> I couldn't locate the table I created in the oracle database, when I wanted to link tables in the MS Access.

Did you ever connect to ODBC-database from within MS Access? What version of Access are you using?


General: Maybe you haven't enough rights to connect to these databases, possibly owner of database tables is not the user who wants to use them and that user hasn't been granted to allow accessing those tables.

krs,
tesu
Reputation Points: 158
Solved Threads: 98
Master Poster
tesuji is offline Offline
720 posts
since Apr 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MySQL Forum Timeline: How to pick next or prevoius day?
Next Thread in MySQL Forum Timeline: Query that retrieves an MD5 hash of a password from the seeded MD5 hash





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC