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

connecting mysql with vb6

sir
i am using vb6 with access, but now i want to migrate to mysql on remote server.Can i connect to mysql without using odbc , or if i use ODBC and make a package and install it in other system will dsn be created there.
plz help
thanks in advance
Bye
sreejit
[285 byte] By [gsreejit_79] at [2007-11-11 7:31:44]
# 1 Re: connecting mysql with vb6
You can connect to MySQL via ODBC without creating a DSN. Your ADO connection string should look like this:

driver={mysql}; database=yourdatabase;server=yourserver;uid=username;pwd=password;option=16386;
Phil Weber at 2007-11-11 17:26:55 >
# 2 Re: connecting mysql with vb6
thank u sir
mysql server is provided by yahoo
its not connecting its giving error cannot found mysql server on server name
plz help
gsreejit_79 at 2007-11-11 17:27:55 >
# 3 Re: connecting mysql with vb6
Have you asked Yahoo? What did they say?
Phil Weber at 2007-11-11 17:28:53 >
# 4 Re: connecting mysql with vb6
yes i had asked yahoo, they said there server does not support third party access.Now what should i do. plz suggests, if there is any other way to access the mysql db. or any other server which provide free or ecnomic mysql server with ip support access.

if anyone know abt it plz let me know

thanks in advance.
sreejit
gsreejit_79 at 2007-11-11 17:29:48 >
# 5 Re: connecting mysql with vb6
Is the site you are speaking of a Yahoo! Merchant Solutions site for a Yahoo! store? I ask because the database used for their catalog and inventory managers can only be accessed by the web-based UI they provide.

To add more features and dynamism to your site, they do include a MySQL database that you can use and access via PHP or PERL. This is a separate database for your own use within the site.

See the section called "MySQL, PHP, and Perl" at the following URI,
http://help.yahoo.com/help/us/store/site/

As an alternative, they do offer the data from the catalog manager in XML format for your own custom reporting. You could call this file and parse it for your own needs.

Export Yahoo! DB to XML (http://help.yahoo.com/help/sbc/store/edit/sitebuilder/sitebuilder-19.html)

Good luck,
msanchez at 2007-11-11 17:30:49 >