I have a mySQL database server running..
Some how I download the guestbook php script. I install it.. It said it can't connect to my server.
I set port to 6781
but when the errors said (79) as the port.
How do I specific which ports to use in PHP to login my database?
port
Moderator: General Moderators
http://php.net/mysql_connect
the default port can be changed in php.inithe server parameter can also include a port number. eg. "hostname:port"
; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =