Re: How can I run '.sql' script from vc++
- From: "Eric Hill" <eric@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 09:25:50 -0600
Hi,
Somebody please help me how can i rum a .sql file from vc++. Iam using
MFC with MySQL as backend.
Use CreateProcess or ShellExecute to launch the following:
mysql my_db_name -umy_user_name -pmy_password my_script.sql
If you need to get access to the database instead of just running a script, a good place to start would be the C++ wrapper around the mysql C API, called MySQL++.
Find it here: http://tangentsoft.net/mysql++/
Eric
.
- Follow-Ups:
- Re: How can I run '.sql' script from vc++
- From: sujeeshlal
- Re: How can I run '.sql' script from vc++
- References:
- How can I run '.sql' script from vc++
- From: sujeeshlal
- How can I run '.sql' script from vc++
- Prev by Date: Re: Compiler warning
- Next by Date: Re: unicode characters on console?
- Previous by thread: How can I run '.sql' script from vc++
- Next by thread: Re: How can I run '.sql' script from vc++
- Index(es):
Relevant Pages
|