473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Linking my code to MySQL

hsn
237 100+
i have a problem when linking my java code to mySQL
thow i tryed more than 4 ways that was found on the net
(My mySQL server version: 5.0.45)
connection id 5
Dec 9 '07 #1
6 1478
mwasif
802 Expert 512MB
How you are connecting to MySQL? Did you try this?
Dec 9 '07 #2
pbmods
5,821 Expert 4TB
Moving to the Java forum.
Dec 9 '07 #3
heat84
118 100+
i have a problem when linking my java code to mySQL
thow i tryed more than 4 ways that was found on the net
(My mySQL server version: 5.0.45)
connection id 5

Are you using ODBC or not? What is the error then if your code is giving errors , if not , how do you deduce that its not connecting. Perhaps the finer details are relevant.
Dec 12 '07 #4
BigDaddyLH
1,216 Expert 1GB
Are you using ODBC or not? What is the error then if your code is giving errors , if not , how do you deduce that its not connecting. Perhaps the finer details are relevant.
Why is everyone bringing the ODBC up?? The OP mentioned his database is MySQL, and he never wrote ODBC, nor does he need to use it.

What he needs to do is be more specific, here. It's not hard to connect to a database in Java.
Dec 12 '07 #5
heat84
118 100+
Why is everyone bringing the ODBC up?? The OP mentioned his database is MySQL, and he never wrote ODBC, nor does he need to use it.

What he needs to do is be more specific, here. It's not hard to connect to a database in Java.
Perhaps the dude may have used ODBC and he may have omitted adding the data source name and all.

However , the bottom line is that for clarirty's sake, the experts and fellow members need the finer details
Dec 17 '07 #6
BigDaddyLH
1,216 Expert 1GB
Perhaps the dude may have used ODBC and he may have omitted adding the data source name and all.

However , the bottom line is that for clarirty's sake, the experts and fellow members need the finer details
Yes, don't mention ODBC. Here is the home page for Connector/J documentation:

http://dev.mysql.com/doc/refman/5.0/en/connector-j.html

Connector/J is what needs to be mentioned. It is MySQL's JDBC driver.
Dec 17 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bruno | last post by:
Hello, I have the following problem with mysql linking: 1) 'mysql_config --libs' return (correctly) the following: -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files...
1
by: gopinathanr | last post by:
I am having a VB 6.0 program where I am using an MS Access database. This database has some tables that have been created by linking to MySql database using the MySQL ODBC 3.51 Driver. When I try...
1
by: gopinathanr | last post by:
I am having a VB 6.0 program where I am using an MS Access database. This database has some tables that have been created by linking to MySql database using the MySQL ODBC 3.51 Driver. When I try...
7
by: coolsti | last post by:
I have the task to set up an application at work,using MS Access as a front end to a MySQL database. This will be done using an appropriate ODBC driver, and linking the MySQL database to Access. ...
4
by: IT Couple | last post by:
Hi I have an MySQL database v5 on the web with data from my MS Access database which I migrated. I want give options to my customers to interact with the database so I want to move it entirely...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.