Well, this is my first post here and i hope someone be able to hlep me fix this, in forum form the country of wich im for, about ot's, nobodys asnwered me eighter a lot of other ppl haivng this same problem, and a lot of ppl are having this problem...
Well, lets begin, when i first runned my ot, of ocurse i had made the database thing with xampp, pretty easy till here, so when i did the hting of import the database i had this msg form xmpp
Erro
consulta SQL:
DELIMITER | CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` !=1 AND `type` !=2 AND `value` = OLD.`id` ;
Mensagens do MySQL :
#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`
' at line 1
~~~
But it were not a problem, cuz' i still could ran the server normally, but with one small problem: i could not see account or guild or player by xampp, only acc 1/1 and player Acc Manager, i had to use sqlite studio, this is also ok for me, but it is a thing very strange.
~~~
Detail of: schema.mysql
when i import it, i have a database with 23 tables, the file has 11,8 KB (12,00)
~~~
Well, this is the first part of my problem, as i said i could never see or manage the player via xampp.
The second part of my problem is: i installed my website, and it could not see the players to use in rankings or in 'search for player', i tonly shows the acc manager, i dont know if that sql error have some relation with this second problem, bu tim sure that, when i be able to use xampp to manage my player and etc, i would be able to run the site perfectely.
~~
More info: In my config.lua i pu tin this way
-- Database
-- NOTE: sqlFile is used only by sqlite database
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "*****"
sqlPass = "*****"
sqlDatabase = "schema"
sqlFile = "forgottenserver.s3db"
passwordType = "plain"
~~
Some ppl said to chnage sqlType = "sqlite" for sqlType = "mysql"
but when i do this, server can not run.
Someone please, have an idea of what can be done or anything that be?
please, i really need this help, and having this help maybe i be able ot help the ppl who are haing this problem too here in Brazil.
Ty for attention =)
Well, lets begin, when i first runned my ot, of ocurse i had made the database thing with xampp, pretty easy till here, so when i did the hting of import the database i had this msg form xmpp
Erro
consulta SQL:
DELIMITER | CREATE TRIGGER `ondelete_accounts` BEFORE DELETE ON `accounts` FOR EACH ROW BEGIN DELETE FROM `bans` WHERE `type` !=1 AND `type` !=2 AND `value` = OLD.`id` ;
Mensagens do MySQL :
#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`
' at line 1
~~~
But it were not a problem, cuz' i still could ran the server normally, but with one small problem: i could not see account or guild or player by xampp, only acc 1/1 and player Acc Manager, i had to use sqlite studio, this is also ok for me, but it is a thing very strange.
~~~
Detail of: schema.mysql
when i import it, i have a database with 23 tables, the file has 11,8 KB (12,00)
~~~
Well, this is the first part of my problem, as i said i could never see or manage the player via xampp.
The second part of my problem is: i installed my website, and it could not see the players to use in rankings or in 'search for player', i tonly shows the acc manager, i dont know if that sql error have some relation with this second problem, bu tim sure that, when i be able to use xampp to manage my player and etc, i would be able to run the site perfectely.
~~
More info: In my config.lua i pu tin this way
-- Database
-- NOTE: sqlFile is used only by sqlite database
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "*****"
sqlPass = "*****"
sqlDatabase = "schema"
sqlFile = "forgottenserver.s3db"
passwordType = "plain"
~~
Some ppl said to chnage sqlType = "sqlite" for sqlType = "mysql"
but when i do this, server can not run.
Someone please, have an idea of what can be done or anything that be?
please, i really need this help, and having this help maybe i be able ot help the ppl who are haing this problem too here in Brazil.
Ty for attention =)