|
You last visited: Today at 18:54
Advertisement
Database problem
Discussion on Database problem within the Metin2 Private Server forum part of the Metin2 category.
01/31/2018, 07:52
|
#1
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
Database problem
Hello guys,
i have a big problem with registration.
I tried some server files and server was online so I created website for registration (about 10 templates or CMS) and everything was okay, ranking was updated, login worked but registration wasnt. Website said that the account was created but in navicat in database wasnt.
Permisions have 777, could you help me please?
Thanks in advance!
|
|
|
01/31/2018, 20:43
|
#2
|
wild wild son
elite*gold: 0
Join Date: Feb 2011
Posts: 5,995
Received Thanks: 3,389
|
Metin2 Main - Discussions / Questions -> Metin2 PServer - …
#moved
|
|
|
02/01/2018, 08:19
|
#3
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
Know someone plase? :/
|
|
|
02/01/2018, 12:16
|
#4
|
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
|
hi, this Problem can come on, when ur account table have more column then the regi script.
Check the mysql query from the regiscript.
mabye it is another error, idk it is difficult tho help without syserrs etc.
regards
|
|
|
02/01/2018, 12:47
|
#5
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
Well, but I tried at least 10 website pages, now I am trying metin2cms.cf and its not too working, could you please tell me, where can I find the quieries in this CMS? and I tried two server files and same problem, too I tried to reinstall freebsd + mysql. I have 10.4.
I cant create account in navicat because I have to everytime fill in last_play and if I filled in I had a big problem with game, because the progress in game every time diappeared :/
---
I think its problem tiwh last_play but its not normal to fill in, it should be automatically.
$sql = "INSERT INTO account SET login = '".$username."', password = PASSWORD('".$password."'), real_name = '".$rl_name."', social_id = '".$sl_id."', email = '".$email."'";
$result = mysql_query($sql);
here are query of one reg page.
|
|
|
02/01/2018, 14:32
|
#6
|
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
|
oke, i think this is not the Problem... This is my query and it works...
PHP Code:
$qry = "INSERT INTO account (login,password,real_name,social_id,email)
VALUES('$an', PASSWORD('$pw'),'$nm','$lc','$em')";
$rst = $con->query($qry);
do you have on your mysqlserver createt a account only for the Homepage/webspace?
when not, create a new user like this your.server.ip.adress@homepage set all rights for this user. Mybe the Problem is that the Webspace havnt permission to create a account.
regards
|
|
|
02/01/2018, 14:45
|
#7
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
I have exactly account just for homepage created like root account in mysql, how can I set more permissions for create in database? Because I didnt have this problem so its new for me.
GRANT ALL PRIVILEGES ON *.* TO 'xxxx'@'%' IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
----
I have freebsd vps with mysql + server and webhosting, it couldnt be the problem?
|
|
|
02/01/2018, 14:58
|
#8
|
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
|
whit this grant command, u give all rights. U can with navicat see which rights are given. Navigate to the Homepage user.
u use hamachi or dyndns? or is this a virtual root server?
|
|
|
02/01/2018, 15:50
|
#9
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
I have vps so virtual root server and with all grants it isnt working
|
|
|
02/01/2018, 16:39
|
#10
|
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
|
okay, which serverfiles do you use?
|
|
|
02/01/2018, 16:47
|
#11
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
TWIX Work (Nirvana v3) but I had 3 different server files and same problem, dont think its cause files
|
|
|
02/02/2018, 00:52
|
#12
|
elite*gold: 315
Join Date: Jun 2012
Posts: 5,158
Received Thanks: 4,814
|
yeah i think also that the files are not the Problem...
But currently i have no idea... all Things where u write are correct...
|
|
|
02/02/2018, 14:44
|
#13
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
Its weird :/ i need it for registration and website
Im so lucky guy
Know someone? :/
|
|
|
02/05/2018, 12:24
|
#14
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
up
|
|
|
02/07/2018, 08:02
|
#15
|
elite*gold: 0
Join Date: Jun 2011
Posts: 16
Received Thanks: 0
|
.
|
|
|
 |
|
Similar Threads
|
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png
Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap.
Many database releases have come before this...
|
[How-To]Change from sql-database to txt-database
08/11/2016 - Metin2 Private Server - 1 Replies
Hello guys...
My Server uses item_proto and mob_proto from navicat , iwant to use item_proto and mob_proto from fillezilla, ????
Show me the way and thnak you .:o
|
[Release] Sro-r DataBase , And Real TWsro DataBase
04/01/2013 - SRO Private Server - 10 Replies
its a gift from me because i will left Sro Forever
so today i will release Sro-r DataBase , And Real Twsro Database + Server Files
Download Link
HAPPY 1/4
:D i never do that lol you mad ! ?
:p
|
All times are GMT +1. The time now is 18:54.
|
|