php 开源TayCMS免费企业建站系统 安装出错
程序员文章站
2022-04-15 20:48:42
...
php TayCMS安装出错 开源TayCMS免费企业建站系统 安装出错
检测数据库过不去!怎么回事?哪个高人帮看看
错误提示:
我的数据库配置文件config.php
$db['hostname'] = '127.0.0.1';
$db['username'] = 'root';
$db['password'] = 'root';
$db['database'] = 'taygod';
$db['dbdriver'] = 'mysql';
$db['dbprefix'] = 'tay_';
$db['pconnect'] = TRUE;
$db['db_debug'] = TRUE;
$db['cache_on'] = FALSE;
$db['cachedir'] = '';
$db['char_set'] = 'utf8';
$db['dbcollat'] = 'utf8_general_ci';
$db['swap_pre'] = '';
$db['autoinit'] = TRUE;
$db['stricton'] = FALSE;
还有config.example.php
$db['hostname'] = '{hostname}';
$db['username'] = '{username}';
$db['password'] = '{password}';
$db['database'] = '{database}';
$db['dbdriver'] = 'mysql';
$db['dbprefix'] = '{dbprefix}';
$db['pconnect'] = TRUE;
$db['db_debug'] = TRUE;
$db['cache_on'] = FALSE;
$db['cachedir'] = '';
$db['char_set'] = 'utf8';
$db['dbcollat'] = 'utf8_general_ci';
$db['swap_pre'] = '';
$db['autoinit'] = TRUE;
$db['stricton'] = FALSE;
我本地数据库都建好了!等待大神帮解答!
检测数据库过不去!怎么回事?哪个高人帮看看
错误提示:
我的数据库配置文件config.php
$db['hostname'] = '127.0.0.1';
$db['username'] = 'root';
$db['password'] = 'root';
$db['database'] = 'taygod';
$db['dbdriver'] = 'mysql';
$db['dbprefix'] = 'tay_';
$db['pconnect'] = TRUE;
$db['db_debug'] = TRUE;
$db['cache_on'] = FALSE;
$db['cachedir'] = '';
$db['char_set'] = 'utf8';
$db['dbcollat'] = 'utf8_general_ci';
$db['swap_pre'] = '';
$db['autoinit'] = TRUE;
$db['stricton'] = FALSE;
还有config.example.php
$db['hostname'] = '{hostname}';
$db['username'] = '{username}';
$db['password'] = '{password}';
$db['database'] = '{database}';
$db['dbdriver'] = 'mysql';
$db['dbprefix'] = '{dbprefix}';
$db['pconnect'] = TRUE;
$db['db_debug'] = TRUE;
$db['cache_on'] = FALSE;
$db['cachedir'] = '';
$db['char_set'] = 'utf8';
$db['dbcollat'] = 'utf8_general_ci';
$db['swap_pre'] = '';
$db['autoinit'] = TRUE;
$db['stricton'] = FALSE;
我本地数据库都建好了!等待大神帮解答!
回复讨论(解决方案)
不是提示的很清楚,mysql与gd库未生成!
你可以试一下网页版的phpmyadmin看看能不能访问数据库?