mysql_connect() help

D

Daffeh

Guest
tut tut making an OMFG l33t h4X0r virus thingy are we?
;)

:clap: :clap: :clap:
 
L

Louster

Guest
DAF GO WAY.

resource mysql_connect ([string hostname [:port] [:/path/to/socket] [, string username [, string password]]])


Returns a MySQL link identifier on success, or FALSE on failure.

mysql_connect() establishes a connection to a MySQL server. The following defaults are assumed for missing optional parameters: host:port = 'localhost:3306', username = name of the user that owns the server process and password = empty password.

The hostname string can also include a port number. eg. "hostname:port" or a path to a socket eg. ":/path/to/socket" for the localhost.

You'll find this here.
 

Users who are viewing this thread

Top Bottom