Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to direct access internet's mysql from vfp9 ?

71 views
Skip to first unread message

darren5559 via DBMonster.com

unread,
Mar 29, 2009, 12:07:52 AM3/29/09
to
hi,

i have a ONLINE website contains 2 databases in the mysql. one database
called 'information_schema' which was created by mysql, and another database
called 'infodata' which created by me.

i use visual foxpro to write a program to access the ONLINE database, the
database show ok when i use SQLSTRINGCONNECT command to access the
'information_schema' database, but the database show error when i use
SQLSTRINGCONNECT to access 'infodata' database, may i know what is wrong with
database ? how to ratify this problem ?

pls help me. thanks !!!

--
Message posted via http://www.dbmonster.com

Bernhard Sander

unread,
Mar 30, 2009, 8:44:28 AM3/30/09
to
Hi darren5559,

> i have a ONLINE website contains 2 databases in the mysql. one database
> called 'information_schema' which was created by mysql, and another database
> called 'infodata' which created by me.
>
> i use visual foxpro to write a program to access the ONLINE database, the
> database show ok when i use SQLSTRINGCONNECT command to access the
> 'information_schema' database, but the database show error when i use
> SQLSTRINGCONNECT to access 'infodata' database, may i know what is wrong with
> database ? how to ratify this problem ?

You may check access rights in mySQL of your databases and tables.
You also may check aError() after your SQLStringConnect fails.

Regards
Bernhard Sander

swdev2

unread,
Apr 7, 2009, 5:53:12 PM4/7/09
to
yup - i do it all the time with shared services linux servers.
vfp->odbc across the internet->mysql instance

the odbc portion for vfp is straightforward.

what's NOT straightforward is 'client access ' parameters at the host, or
hosting company.
you'll need to allow access (by and to your desktop machine) at some control
panel
on the linux host, PER DATABASE INSTANCE.. IE - do it twice for
'information_schema' and 'infodata' , both.

allowing for :
1. ip address or qualified machine name
2. a user name
3. a password.

Once you get it properly configured, you still might have access problems if
your ip address or qualified machine name CHANGES, as then you'll have to
reconfigure at the linux host.

Good Luck !
--


--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"darren5559 via DBMonster.com" <u38358@uwe> wrote in message
news:93c9e24c92647@uwe...

0 new messages