• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

MySQL How to setup a MySQL Database (screenshots included) - Last update: 16/7/2009

RE: How to Setup a MySQL Database (Updated and Detailed Guide)

i set it up but get an error
FATAL: Could not open the map stream
 
RE: How to Setup a MySQL Database (Updated and Detailed Guide)

THANKS THIS REALLY HELPs
 
RE: How to Setup a MySQL Database (Updated and Detailed Guide)

Nikolas1994 said:
The only thing i can say about this is : WTF!?

UHajajajajajjaa:D

Nice tutorial :)
 
RE: How to Setup a MySQL Database (Updated and Detailed Guide)

Code:
G:xamppxamppmysql>G:xamppxamppmysqlbinmysql.exe -u root ellisiaots -p <t
riggers.sql
Enter password: ******
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'IF EXISTS `oncreate_players`' at line 1

how do i fix this problem?
 
RE: How to Setup a MySQL Database (Updated and Detailed Guide)

Thanks man, i need this tutorial
 
Code:
G:xamppxamppmysql>G:xamppxamppmysqlbinmysql.exe -u root ellisiaots -p <t
riggers.sql
Enter password: ******
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma
nual that corresponds to your MySQL server version for the right syntax to use n
ear 'IF EXISTS `oncreate_players`' at line 1

how do i fix this problem?

xamppxamppmysq? wtf!?

G:xamppxamppmysq? wtf!?

you need to locate mysql.exe like this c:\xampp\mysql\bin\mysql.exe
 
After I imported the forgottenserver.sql this happened to me:

Error

SQL query:

DELIMITER | CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `account` = OLD.`id` ;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DELIMITER |

CREATE TRIGGER `ondelete_accounts`
BEFORE DELETE
ON `accounts`
FOR ' at line 1

What should I do?
 
I've downloaded it..
Where do I put it?
install the xampp and just replace the phpmyadmin folders?

--Edit--
Ok figured it out
It seems to be working, but I still can't find a way to change stuff and see the accounts, etc.
How can I do it?

--Edit2--

Nevermind just got how this thing works
thanks anyway
finally got to understand something about sql =D
 
Last edited:
THIS IS GREAT I DIDNT KNOW , I DOWNLOAD SQL THINKING THAT IT WAS LIKE XML i think it helped a lot of people
=D
 
lol, my error again.
When i tried upload the forgottenserver.sql to the database, this shows:

Error

SQL query:

DROP TRIGGER IF EXISTS `oncreate_players` ;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS `oncreate_players`' at line 1
 
Last edited:
Use phpmyadmin v2.11 or read the second part of tutorial(man are you blind?)
 
what directory do i save the triggers file in?

C:\Server\xampp\mysql -u root theforgottenserver -p < triggers.sql
this doesnt work :S comes up the system cant find the file specified.

also what folder do i put the triggers file in?

ok done it all but chars still dont save :S please help.
 
Last edited by a moderator:
Back
Top