31.08.2016, 23:58
Hello guys, as the title says i am a newb in MYSQL on sa-mp domain so i want to know how to configurate MYSQL_CONNECT for my server? At Host i put the IP of my website where there is the database. at user i place the user that i use to connect to cPanel and the password the same the one that is used to connect to cPanel
I need to mention that my SA-MP Server is hosted from somewhere and the Website+Database somewhere else
pawn Код:
SQL = mysql_connect("185.....","cPanelUser","cPanelPass", "cPanelDataBase");
01:49:33 CMySQLConnection::Connect ERROR (error #1045) Access denied for user 'cPanelUser'@'Here is showing my IP not the site's IP 185..... etc' (using password: YES)
01:49:33 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
01:49:33 cache_get_row_count WARNING no active cache
01:49:33 CMySQLConnection::Connect ERROR (error #1045) Access denied for user 'cPanel'@'same here wtf' (using password: YES)
01:49:38 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away