1

我正在尝试在我的服务器上的子目录中安装 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.

我已经仔细检查了数据库用户和密码。我什至尝试创建新的。我已经重新安装了几次。

在 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
);

有任何想法吗?

4

2 回答 2

1

这是已解决的 YOURLS 代码问题:

https://github.com/YOURLS/YOURLS/issues/1617

等待新版本,或者自己改代码如上url。

于 2014-07-10T20:42:26.023 回答
1

我今天安装了你的同样的错误

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-01-18T10:42:21.910 回答