19 lines
521 B
Plaintext
19 lines
521 B
Plaintext
:sig
|
|
MySQL* mysql_connect(String host = "localhost", String username = "root", String password = "")
|
|
|
|
:params
|
|
host : host name of the MySQL server
|
|
username : user name
|
|
password : password
|
|
return value : pointer to the MySQL connection struct
|
|
|
|
:desc
|
|
Establishes a connection to a MySQL server.
|
|
|
|
:see
|
|
>mysql
|
|
|
|
:related
|
|
**PHP:** Modern PHP database access through `mysqli_*` or PDO methods rather than the old `mysql_*` family
|
|
**JavaScript / Node.js:** Node database clients such as `mysql2`, query builders, or ORM adapters
|