News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

Can i connect with new mysql to out of freepgs?

Started by computerman, August 20, 2006, 09:17:57 PM

Previous topic - Next topic

computerman

Sorry i have a questione...can i connect with mysql to another space out of freepgs?
thx

admin

Yes, you can connect remotely to our database server (if that is what you are asking)

You can also connect out to remote SQL servers (if that is what you are trying to say)

Simply look in the Options panel, the hostname will either say:

localhost or mysql5.freepgs.com

If it says "localhost", use "freepgs.com" as the database server hostname ON THE REMOTE SERVER ONLY
If it says "mysql5.freepgs.com" use "mysql5.freepgs.com" as the server hostname setting on your script.

Thank you,
FreePgs.com Admin

computerman

The connection is ok and the read a db is ok!
But when i try a "insert" in db i have an error

Evilsprouts


computerman

For any insert:

"Incorrect integer value: '' for column 'id' at row 1"

But the script is ok, because if run the script in freepgs space or another host run is ok. When i run in other space with link database freepgs return this error!

Evilsprouts