kvarnerexpress
Oct 5 2005, 10:00 PM
| | Hi I have used vb to link to an access 2003 database using the adodc component- (connection string etc etc). Right I am now working with mysql (which I would like to say I am loving it) and I have migrated the access 2003 db's into mysql using the migration toolkit . How can I link to mysql db in a similar fashion. Please reply.
Thanx. kvarnerexpress |
Reply
Nileshpatel
Oct 5 2005, 10:58 PM
Hello kvarnerexpress, Please follow the site http://www.connectionstrings.com/ where you get all connection string.
Reply
Galahad
Oct 17 2005, 02:59 PM
I'm a bit late, but I will give my contribution to this. On Planet Source Code (here's the link: Planet Source Code), there is a project in Visual Basic, called MyVbQL, that compiles into ActiveX DLL, and can be used to access MySQL databases. I have used this project, and I can say it works pretty fine, it is stable, and runs fast. It relies fully on libmysql.dll, and even if you upgrade your MySQL server, it will work fine.
Reply
magiccode9
Nov 2 2005, 08:00 AM
hi, all, there is no longer need to use thrid-party component that may be not function correctly(of course, some component would be stable as Galahad said) coz mysql company have made a conponent that is odbc compatible. you can go here to download. P.S. .net version component also are here.
Reply
michaelper22
Dec 28 2005, 01:31 AM
QUOTE(magiccode9 @ Nov 2 2005, 03:00 AM) hi, all, there is no longer need to use thrid-party component that may be not function correctly(of course, some component would be stable as Galahad said) coz mysql company have made a conponent that is odbc compatible. you can go here to download. P.S. .net version component also are here. Thanks so much for that link. I always thought that it would take so much to connect to a MySQL server in .Net programs. How on earth you you use ODBC databases in .Net? I heard of the MySQL OCBC component before, used it once or twice....
Reply
Sarith Pallewela
Jan 13 2006, 02:45 PM
Why don't you use VB.net? It gives you much more flexibility and a better secure connection! Just try It! O.K?
Reply
Inspiron
Jan 13 2006, 03:56 PM
I was using Microsoft Access database once ago for my project done in JSP (Java Server Pages - similar to PHP). Rather my school only taught me to use Microsoft Access. But I've found a way to connect to MySQL database for an alternative database method. You will need another connector driver. By default, Microsoft uses ODBC (Open DataBase Connectivity) for it's Microsoft-based databases. A bridge driver is needed to connected Java applications into ODBC, which then connects to the database itself. For Java, the bridge is called JDBC (Java DataBase Connectivity). As for your case, the current versions of Visual Basics should be based on .NET framework. MySQL has also developed a driver to connect .NET applications to MySQL databases. You will need to download and install the driver to enable the connectivity. http://dev.mysql.com/downloads/connector/net/1.0.htmlThe source codes in VB for connecting to MySQL databases should remain unchanged. The only changes that has to be done is to link your MySQL database into ODBC in Administrative Tools in Control Panel. For more information of these steps, visit the following sites : http://www.nusphere.com/products/library/d..._mysql_odbc.htmhttp://www.15seconds.com/issue/050407.htm
Reply
Recent Queries:--
mysql and vb - 0.82 hr back. (1)
-
mysql vb - 10.77 hr back. (1)
-
mysql con vb - 17.47 hr back. (1)
-
download mysql vb login project - 17.60 hr back. (1)
-
vb8 odbc mysql - 28.74 hr back. (1)
-
mysql odbc vb5 opendatabase - 45.60 hr back. (1)
Similar Topics
Keywords : linking, mysql, vb
- Vb Select Mysql Database
(2)
Mysql In Visual Basic
Mysql in visual basic (5) I'm am trying to create a script so that visual basic 6 can interact with mysql Any ideas?....
Lost Connection To Mysql Server During Query [
Please, Help!! (1) Hello Everyone... I need to put in the images table of the DB, 10 pictures of 60kb each one, when i
do that, i lost the connection, but if a upload 10 pictures of 30kb each one, i haven't got the
problem. I'm getting the following error when I run my select query within my VB code: Lost
connection to MySQL server during query. This seems like a timeout error to me, but I don't
know how to compensate so that it doesn't time out. My VB code is using Microsoft's OLE DB
provider for ODBC, and mysql's odbc connector. Any suggestions would be g....
Looking for linking, mysql, vb
|
|
Searching Video's for linking, mysql, vb
|
advertisement
|
|