字典翻译 问答 其它 修改以下配置:$cfgServers[1]['host']='localhost';//MySQLhostname$cfgServers[1]['port']='';//MySQLport-leaveblankfordefaultport$cfgServers[1]['socket']='';//Pathtothesocket-leaveblankfordefaultsocket$cfgServers[1]['co
问题标题:
修改以下配置:$cfgServers[1]['host']='localhost';//MySQLhostname$cfgServers[1]['port']='';//MySQLport-leaveblankfordefaultport$cfgServers[1]['socket']='';//Pathtothesocket-leaveblankfordefaultsocket$cfgServers[1]['co
问题描述:

修改以下配置:

$cfgServers[1]['host']='localhost';//MySQLhostname

$cfgServers[1]['port']='';//MySQLport-leaveblankfordefaultport

$cfgServers[1]['socket']='';//Pathtothesocket-leaveblankfordefaultsocket

$cfgServers[1]['connect_type']='tcp';//HowtoconnecttoMySQLserver('tcp'or'socket')

$cfgServers[1]['stduser']='';//MySQLstandardusersettings(thisusermusthaveread-only

$cfgServers[1]['stdpass']='';//accesstothe"mysql/user"and"mysql/db"tables)

$cfgServers[1]['adv_auth']=FALSE;//Useadvancedauthentication?

$cfgServers[1]['user']='alintest';//MySQLuser

$cfgServers[1]['password']='alintest';//MySQLpassword(onlyneededwithbasicauth)

$cfgServers[1]['only_db']='alintest';//Ifsettoadb-name,onlythisdbisdisplayedatleftframe

刘安心回答:
  看情况有着应当属于网站的数据库配置项,你需要知道的有这几个$cfgServers[1]['host'] = 'localhost'; // MYSQL数据库连接地址$cfgServers[1]['port'] = ...
点击显示
其它推荐
热门其它推荐
  • 其它