It is currently Thu Mar 28, 2024 10:13 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: mysql_connect Syntax
PostPosted: Sat Jun 24, 2006 7:29 pm 
Noobie
Noobie

Joined: Wed May 10, 2006 12:42 am
Posts: 3
I have read some of the threads about how to connect to my database and I am still confused. Is the syntax for mysql_connect:

mysql_connect("mysql1.100ws.com:3306","calpro_dbma","<PASSWORD">)

<PASSWORD> = my MySQL password for the user account calpro_dbma.

I have tried this without success. Can anyone assist?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 24, 2006 10:26 pm 
Moderator
Moderator

Joined: Sat Feb 12, 2005 4:48 pm
Posts: 575
Location: Largo, Florida USA
You don't need the port number:

mysql_connect("mysql1.100ws.com","calpro_dbma","<PASSWORD">)

_________________
Bob G.

Grout Recoloring Systems: http://coloryourgrout.com

Save Your Data - Do Backups
http://forum.100webspace.com/viewtopic. ... highlight=


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011