FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: computerman on August 20, 2006, 09:17:57 PM

Title: Can i connect with new mysql to out of freepgs?
Post by: computerman on August 20, 2006, 09:17:57 PM
Sorry i have a questione...can i connect with mysql to another space out of freepgs?
thx
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: admin on August 21, 2006, 01:46:15 AM
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
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: computerman on August 21, 2006, 02:51:48 PM
The connection is ok and the read a db is ok!
But when i try a "insert" in db i have an error
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: Evilsprouts on August 21, 2006, 06:53:36 PM
Whats the error?
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: computerman on August 22, 2006, 01:12:03 PM
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!
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: Evilsprouts on August 22, 2006, 01:19:17 PM
Show us the script.
Title: Re: Can i connect with new mysql to out of freepgs?
Post by: computerman on September 18, 2006, 01:29:59 PM
The script download it:
http://www.phpjunkyard.com/download.php?script=hesk