什么是mySQL中的“ forks”
<?php
$connect = mysqli_connect("db location","username","password", "forks") or die(mysql_error());
?>
它的数据库名称
mysqli_connect(host,username,password,dbname,port,socket);
Parameter Description
host Optional. Specifies a host name or an IP address
username Optional. Specifies the MySQL username
password Optional. Specifies the MySQL password
dbname Optional. Specifies the default database to be used
port Optional. Specifies the port number to attempt to connect to the MySQL server
socket Optional. Specifies the socket or named pipe to be used
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句