Hi Guys,
Haven't made an OT in years, decided to get back into it and spent the last week mapping and creating my OT. Got it working perfect fully tested everything and the last stage was the website AAC. Decided to go for Znote as it seems to be the most used. But cannot get it to work correctly. spent 4 hours now trying to figure it out.
I am using TFS 0.4 8.6 client.
The Error i get when i try to access my website is..
Failed to connect to MySQL: (1045) Access denied for user ''@'localhost' (using password: NO)
here is the WWW config..
Hope this is enough information. appreciate any help and apologise in advance for any stupidity...
Haven't made an OT in years, decided to get back into it and spent the last week mapping and creating my OT. Got it working perfect fully tested everything and the last stage was the website AAC. Decided to go for Znote as it seems to be the most used. But cannot get it to work correctly. spent 4 hours now trying to figure it out.
I am using TFS 0.4 8.6 client.
The Error i get when i try to access my website is..
Failed to connect to MySQL: (1045) Access denied for user ''@'localhost' (using password: NO)
Code:
-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
-- encryptionType can be plain, md5, sha1, sha256, sha512 or vahash.
sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "otserv"
sqlPass = "1989cj"
sqlDatabase = "otserv"
sqlFile = "theforgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"
here is the WWW config..
Code:
if ($config['ServerEngine'] !== 'TFS_03') {
// TFS DATABASE CONFIGS
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
$config['sqlUser'] = 'otserv';
// phpmyadmin password for OT server:
$config['sqlPassword'] = '1989cj';
// The database name to connect to. (This is usually same as username).
$config['sqlDatabase'] = 'otserv';
// Hostname is usually localhost or 127.0.0.1.
$config['sqlHost'] = '127.0.0.1';
} else {
Hope this is enough information. appreciate any help and apologise in advance for any stupidity...