MySQL etc. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: MySQL etc. (
/showthread.php?tid=193293)
MySQL etc. -
sekol - 25.11.2010
So I have a basic script that uses MySQL. Now i need to know how to install MySQL. Can anyone tell me step by step what to download etc?
Re: MySQL etc. -
sekol - 25.11.2010
Okey i did it, now i have other problem importing database
PHP код:
Błąd
Zapytanie SQL:
--
-- Baza danych: `rp`
--
-- --------------------------------------------------------
--
-- Struktura tabeli dla `rp_bans`
--
CREATE TABLE IF NOT EXISTS `rp_bans` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`Banned` varchar( 255 ) DEFAULT NULL ,
`User` varchar( 255 ) DEFAULT NULL ,
`Reason` varchar( 255 ) DEFAULT NULL ,
`Admin` varchar( 255 ) DEFAULT NULL ,
`IP` varchar( 255 ) DEFAULT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =4;
MySQL zwrуcił komunikat:
#1046 - No database selected
What's wrong?