PinkyTheLinky
New Member
- Joined
- Aug 4, 2021
- Messages
- 6
- Reaction score
- 1
Hello everyone. I'm having some trouble with connecting to the website with Znote, I am following the tutorial on:
I am on this step:
-------------------------------
"Open config.lua with your preferred text editor and follow these steps:
Now it's time for you to open theforgottenserver.exe... Your server is now running!
Website (Znote AAC)
To create an account on your new server, we will need to set up a website. We will be using Znote AAC for this tutorial, which you can get here.
Extract the .zip file to your web directory (for example, "C:\UniServZ\www"), which should be empty. Enter the website (if your web directory is UniServZ's, you can do this by clicking "View www" in unicontroller) and wait for MySQL connection error. This will show you the rest of the instructions:
-------------------------------
I did as instructed and when I connect it says:
------------------------------
Failed to connect to MySQL: (1045) Access denied for user ''@'localhost' (using password: NO)
Setting up your first server - OTS Guide
docs.otland.net
I am on this step:
-------------------------------
"Open config.lua with your preferred text editor and follow these steps:
- Locate mysqlUser and change the value to "root", if necessary.
- Locate mysqlPass and change the value to the one you selected earlier.
- Locate mysqlDatabase and change the value to the one you chose in the second step of the previous section.
Now it's time for you to open theforgottenserver.exe... Your server is now running!
Website (Znote AAC)
To create an account on your new server, we will need to set up a website. We will be using Znote AAC for this tutorial, which you can get here.
Extract the .zip file to your web directory (for example, "C:\UniServZ\www"), which should be empty. Enter the website (if your web directory is UniServZ's, you can do this by clicking "View www" in unicontroller) and wait for MySQL connection error. This will show you the rest of the instructions:
- The first step is the one we already did when setting up the database.
- The second step tells you to run the given SQL queries in your database via phpMyAdmin.
- The third step asks you to modify config.php. Open it with your text editor and edit the following variables (at least):
- $config['ServerEngine'] with the correct TFS version you are running (TFS_02, TFS_03 or TFS_10).
- $config['sqlUser'] with your MySQL user (root).
- $config['sqlPassword'] with the MySQL password you chose.
- $config['sqlDatabase'] with the database name you chose.
-------------------------------
I did as instructed and when I connect it says:
------------------------------
Failed to connect to MySQL: (1045) Access denied for user ''@'localhost' (using password: NO)
Install:
-
Make sure you have imported TFS database. (OTdir/schema.sql OR OTdir/schemas/mysql.sql OR OTdir/forgottenserver.sql)
- Import the Znote AAC schema to a TFS database in phpmyadmin.
-
Edit config.php with correct mysql connection details.