SA-MP Forums Archive
UCP mysql problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: UCP mysql problem (/showthread.php?tid=568224)



UCP mysql problem - Zaec - 20.03.2015

Hello everyone, i have problem with user control panel. I have these errors:



What can be wrong? I useing TheKiller filterscript and ucp. Everything i runing on localhost, and everything works fine. So why these error can be? And what i have to do that they disapear?

Thanks for helping.


Re: UCP mysql problem - arlindi - 20.03.2015

You are creating or useing an found ucp system ?


Re: UCP mysql problem - BleverCastard - 20.03.2015

Are you that stupid? Read what it's saying or do you not know how to read?
MySQL is deprecated, meaning it's going to be deleted. Use MySQLi or PDO. They have better security than MySQL.


Re: UCP mysql problem - Tidzii - 20.03.2015

@BleverCastard, you're the stupid here, insulting a dude who's asking for help..
damn People this days.

@Zaec - That Orange box says everything, use mysql_real_escape_string (MySQLi)


Re: UCP mysql problem - arlindi - 20.03.2015

Must make sure you are connecting the mysql with Script


Re: UCP mysql problem - Sew_Sumi - 20.03.2015

Quote:
Originally Posted by BleverCastard
Посмотреть сообщение
Are you that stupid? Read what it's saying or do you not know how to read?
MySQL is deprecated, meaning it's going to be deleted. Use MySQLi or PDO. They have better security than MySQL.
Quote:
Originally Posted by Tidzii
Посмотреть сообщение
@BleverCastard, you're the stupid here, insulting a dude who's asking for help..
damn People this days.

@Zaec - That Orange box says everything, use mysql_real_escape_string (MySQLi)
Really though, the big orange box doesn't lie, and is as informative as it needs to be...


Also by the looks of it, it's not SA-MP related at all.


Re: UCP mysql problem - mirou123 - 20.03.2015

Quote:
Originally Posted by BleverCastard
Посмотреть сообщение
Are you that stupid? Read what it's saying or do you not know how to read?
MySQL is deprecated, meaning it's going to be deleted. Use MySQLi or PDO. They have better security than MySQL.
Funniest thing I have read in a while. It's just the function that is deprecated not MYSQL...


Re: UCP mysql problem - Sew_Sumi - 21.03.2015

Quote:
Originally Posted by mirou123
Посмотреть сообщение
Funniest thing I have read in a while. It's just the function that is deprecated not MYSQL...
I somehow don't think you're on the same page...

Should ****** MySQL and MySQLi for more info.


Re: UCP mysql problem - Zaec - 21.03.2015

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Really though, the big orange box doesn't lie, and is as informative as it needs to be...


Also by the looks of it, it's not SA-MP related at all.
Thanks you, for helping Sew_Sumi and Tidzii. Still, have quesion, do i have to change all mysql features from all UCP for MySQLi? This UCP created by [HIC]TheKiller, and in his topic nobody complanes about this problem? Maybe problem is becouse i using localhost to run server and ucp?


Re: UCP mysql problem - Zaec - 21.03.2015

Solved. I just downloaded Mysql converter from MySQL to MySQLi. If someone needs: https://wikis.oracle.com/display/mys...ting+to+MySQLi