サーバーのサブディレクトリ http://[mydomain.tld]/y/admin/install.php に yourls.org 短縮 URL ソフトウェアをインストールしようとしています。インストールを何度も試行すると、次のエラーが発生します。
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
);
何か案は?