User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 426,011 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,568 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
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

Views: 487 | Replies: 4
Reply
Join Date: Jul 2008
Posts: 11
Reputation: emiola is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
emiola emiola is offline Offline
Newbie Poster

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

  #1  
Jul 26th, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,453
Reputation: peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough 
Rep Power: 11
Solved Threads: 296
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

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

  #2  
Jul 26th, 2008
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 4:23 pm. Reason: Spelling
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Join Date: Nov 2007
Location: Arkansas
Posts: 396
Reputation: buddylee17 will become famous soon enough buddylee17 will become famous soon enough 
Rep Power: 2
Solved Threads: 78
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Posting Whiz

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

  #3  
Jul 27th, 2008
Most
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 1:59 am.
Lost time is never found again.
- Benjamin Franklin
Reply With Quote  
Join Date: Jul 2008
Posts: 11
Reputation: emiola is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
emiola emiola is offline Offline
Newbie Poster

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

  #4  
Jul 27th, 2008
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.
Reply With Quote  
Join Date: Apr 2008
Posts: 295
Reputation: tesuji is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 41
tesuji tesuji is offline Offline
Posting Whiz in Training

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

  #5  
Jul 27th, 2008
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
Information is moving—you know, nightly news is one way, of course, but it's also moving through the blogosphere and through the Internets. I promise you I will listen to what has been said here, even though I wasn't here. Ann and I will carry out this equivocal message to the world. I'm the master of low expectations.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 12:59 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC