我正尝试在我的服务器上的一个子目录中安装yourls.org url缩短软件:http://[mydomain.tld]/y/admin/install.php。多次安装尝试会导致以下错误:
Error creating table 'y20130519_url'.
Error creating table 'y20130519_options'.
Error creating table 'y20130519_log'.
Error creating YOURLS tables.
File .htaccess successfully created/updated.我已经仔细检查了db用户和密码。我甚至试着创建新的。我已经重装过几次了。
在phpMyAdmin中,我验证了没有向数据库中添加任何表,正如错误所表明的那样。
在配置文件中,我修改了这里一般替换的以下敏感信息
define( 'YOURLS_DB_USER', '[my new db user name is here]' );
define( 'YOURLS_DB_PASS', '[my new db password is here]' );
define( 'YOURLS_DB_NAME', '[my new db name is here]' );
define( 'YOURLS_DB_PREFIX', 'y20130519_' );
define( 'YOURLS_SITE', 'http://[mydomain.tld]/y' );
define( 'YOURLS_HOURS_OFFSET', -5 );
define( 'YOURLS_COOKIEKEY', '[I typed random characters here]' );
$yourls_user_passwords = array(
'[I created new user]' => '[I created new password]',
'[I created another new user]' => '[I created another new password]' // You can have one or more 'login'=>'password' lines
);有什么想法吗?
发布于 2014-01-18 18:42:22
我已经安装了你的今天同样的错误
Error creating table 'yourls_url'.
Error creating table 'yourls_options'.
Error creating table 'yourls_log'.
Error creating YOURLS tables.
File .htaccess successfully created/updated.但是..。不是真的,我已经检查了数据库,所有的表都在工作
发布于 2014-07-11 04:42:26
https://stackoverflow.com/questions/16636831
复制相似问题