SA-MP Forums Archive
mysql not working - 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: mysql not working (/showthread.php?tid=611714)



mysql not working - Izaki - 10.07.2016

SOLVED


Re: mysql not working - hery6 - 10.07.2016

Try creating the tables by yourself. Do you use a Linux VPS or what OS are you running?


Re: mysql not working - Lynn - 10.07.2016

"Table 'database.accounts' doesn't exist"
It's trying to connect to a table that you don't have.


Re: mysql not working - hery6 - 10.07.2016

Quote:
Originally Posted by Lynn
Посмотреть сообщение
"Table 'database.accounts' doesn't exist"
It's trying to connect to a table that you don't have.
That means he has to create the table himself right? Then it should automatically add the columns


Re: mysql not working - Lynn - 10.07.2016

Quote:
Originally Posted by hery6
Посмотреть сообщение
That means he has to create the table himself right? Then it should automatically add the columns
He can use:
CREATE TABLE IF NOT EXISTS `TABLENAME` (`columns`)


Re: mysql not working - Izaki - 10.07.2016

OMG , Thanks all i forget change database for account to users

SOLVED