Thank you for making this video. I have followed it very carefully, but I continue to have problems. I continue to get the 'Failed to connect to MySQL: (1045) Access denied for user 'user1'@'localhost' (using password: YES)' error.
I have followed the steps in the video, and here is the code from the config file in the www folder:
$config['server_path'] = 'C:\Users\E1\Desktop\ot\customot';
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
$config['sqlUser'] = 'user1';
// phpmyadmin password for OT server:
$config['sqlPassword'] = '123456';
// The database name to connect to. (This is usually same as username).
$config['sqlDatabase'] = 'customot';
// Hostname is usually localhost or 127.0.0.1.
$config['sqlHost'] = 'localhost';
I just pasted it here, so as to show that I am using as what was shown in video. I also did these 2 steps:
- Make sure you have imported TFS database. (OTdir/schema.sql OR OTdir/schemas/mysql.sql OR OTdir/forgottenserver.sql)
- Import the below schema to a TFS database in phpmyadmin:
and both came out fine inside of phpMyAdmin. I would appreciate any help; I am not looking to host an ot, but just to make a little one on my own pc to play. Thank you all for any suggestions.