Browse Source

修复安装时不能创建数据库的bug

pull/37/merge 2.0beta
zyx0814 7 years ago
parent
commit
76a2a9f040
  1. 2
      install/index.php

2
install/index.php

@ -168,7 +168,7 @@ if($method == 'show_license') {
$dbhost1=$dbhost;
}
if(empty($port)) $port='3306';
$link = new mysqli($dbhost1, $dbuser, $dbpw, $dbname, $port, $unix_socket);
$link = new mysqli($dbhost1, $dbuser, $dbpw, '', $port, $unix_socket);
$errno = $link->connect_errno;
$error = $link->connect_error;
}else{

Loading…
Cancel
Save