Which web distribution works best with the newest TFS?

Cadyan

Excellent OT User
Joined
Mar 30, 2008
Messages
775
Reaction score
22
I am setting up the newest TFS, and I am curious as to which web distribution functions the best with it. I am trying Znote but having issues.

Having problems connecting to the website after I have imported the Znote schema to the TFS database.
Code:
Failed to connect to MySQL: (1045) Access denied for user ''@'localhost' (using password: NO)
 
Last edited:

Znote

<?php echo $title; ?>
Staff member
Global Moderator
Premium User
Joined
Feb 14, 2008
Messages
6,445
Reaction score
1,132
Location
Norway, Oslo
You need to edit config.php

$config['sqlUser']
$config['sqlPassword']
$config['sqlDatabase']
$config['sqlHost']

I don't recommend using root, in phpmyadmin, you can click on privledges and create a user with a password that has access to your database. Use that information in config.php.
It is important here that you specify hostname of this user to 127.0.0.1, because you might get connection failed if you just choose localhost and your system supports IPv6.

Beside that, the default configuration in config.php is already tailored towards newest TFS.
 
OP
C

Cadyan

Excellent OT User
Joined
Mar 30, 2008
Messages
775
Reaction score
22
Unfortunately I had already taken all those steps.
Code:
    $config['server_path'] = 'C:\Users\J\vcpkg\forgottenserver';
    if ($config['ServerEngine'] !== 'TFS_10') {
    $config['sqlUser'] = 'forgottenserver';
    $config['sqlPassword'] = 'Bt47e5PcggrRKqsT';
    $config['sqlDatabase'] = 'forgottenserver';
    $config['sqlHost'] = '127.0.0.1';
I used forgottenserver as the User and Database name, granted same priviledges. I tried both localhost and 127.0.0.1.
Ill keep workin at it. If something comes to mind let me know please.
 

Znote

<?php echo $title; ?>
Staff member
Global Moderator
Premium User
Joined
Feb 14, 2008
Messages
6,445
Reaction score
1,132
Location
Norway, Oslo
Unfortunately I had already taken all those steps.
Code:
    $config['server_path'] = 'C:\Users\J\vcpkg\forgottenserver';
    if ($config['ServerEngine'] !== 'TFS_10') {
    $config['sqlUser'] = 'forgottenserver';
    $config['sqlPassword'] = 'Bt47e5PcggrRKqsT';
    $config['sqlDatabase'] = 'forgottenserver';
    $config['sqlHost'] = '127.0.0.1';
I used forgottenserver as the User and Database name, granted same priviledges. I tried both localhost and 127.0.0.1.
Ill keep workin at it. If something comes to mind let me know please.
Do NOT touch/change the blue pen (it should always say OTHIRE there). Only the red pen values. :p

35358

This is set up a bit awkwardly, it shouldn't be neccesary to separate connection config for OTHire, I can understand your confusion now.
Created an issue, @Nottinghster u fix?
 
Last edited:
OP
C

Cadyan

Excellent OT User
Joined
Mar 30, 2008
Messages
775
Reaction score
22
Znote you fixed it! Thank you!
 
Top