Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

connect VB to mySql

Hi all,

I need help! i'm new in VB and mysql. I plan to develop a software using VB and mySql, i goto mysql website but no idea which one to download, there're mysql 4.0 and API, should i download both?
and if i complete the software, and package it into a cd and create an autorun cd, can it run on every pc? or i need to configure mySql in every pc?

THanks for help!
[401 byte] By [jessy] at [2007-11-11 6:55:58]
# 1 Re: connect VB to mySql
I can answer your mySQL question, but not the VB question (not really my area).

Inside of your VB program, it should handle all of the connecting to the mySQL server. The mySQL server should be on a remote PC (for optimal performance) and all clients will connect to it. The API (from what I've seen on the site) is not available for VB (But is for .NET).

Just keep the client /server idea in mind. Installing mySQL on each PC isn't what you want to do.
Kreeves at 2007-11-11 23:47:59 >
# 2 Re: connect VB to mySql
I recommend this: http://www.microsoft.com/sql/msde/default.mspx if you are going to have it on one server. Or if it is going to be on individual PCs and install during deployment, then I recommend MS Access.
brendita at 2007-11-11 23:49:04 >
# 3 Re: connect VB to mySql
just download mysql 4.0

inorder to connect vb to mysql u hve use odbc connection.....for that download myodbc...

configure it...and connect to the mysql using the odbc connection in ur vb prog....
vsorc at 2007-11-11 23:50:02 >