GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: grove4l - 2016. Július 20. - 11:45:01

Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 11:45:01
Üdvözletem. Tesztszerveren a MYsql kapcsolódás sikeres, azonban amennyiben regisztrálnék karaktert már az elején hibaüzeneteket ad így meg is áll az egész. A probléma:
 
[11:40:26] [join] Adam_Bryant has joined the server (*************)
[11:40:44] [MySQL] Query Error - (ErrorID: 1292) (Handle: 1)
[11:40:44] [MySQL] Check mysql_log.txt to review the query that threw the error.
[11:40:44] Dumping query from 2016/7/20 (11:40:44)
Description: Incorrect date value: \'0000-00-00\' for column \'BirthDate\' at row 1 (index 0). Query:
 
[11:40:44] INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`) VALUES (NOW(), NOW(), \'Adam_Bryant\',\'CC13465343396C4E8693F531A023BD69F699C038DBC31F1E944176A6E0A9542BAAA4EEEF6DC23DDF0839B8E259B59A97BAC01A42C6A89BE9325B2A8DBBB47FF5\')
[11:41:03] [part] Adam_Bryant has left the server (0:1)
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 12:28:19
Az a baj, hogy nem értesz hozzá.


SQL táblát mutasd tesám.


\"11953116_1708579559369960_7621024418325139035_n.jpg?oh=bcbdf2c463240ed823908fdac14767af&oe=57F0EA77\"
Cím: SA-MP Mysql R33 - Probléma
Írta: gbr333 - 2016. Július 20. - 12:33:53
5.7 -es Mysql-t használsz?
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 12:59:23
A legújjabb Wampservert töltöttem le.
Cím: SA-MP Mysql R33 - Probléma
Írta: gbr333 - 2016. Július 20. - 13:04:16
Értem.
Az a probléma,hogy az 5.7-es verzióban a date típusú érték nem lehet 0.
Próbálj meg neki valamilyen értéket adni az INSERT-nél.
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 13:11:47
SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám. SQL táblát mutasd tesám.
low
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 13:12:22
Hol tudom ezt megadni? :D Pontosabb leírást kérhetnék? Nem nagyon szoktam foglalkozni szerverrel, ez is csak funolás miatt lenne a haveroknak :D
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 13:15:40
Run the following query: SHOW CREATE VIEW your_view_name
Expand the options and choose Full Texts
Press Go
Copy entire contents of the Create View column.
Forrás: http://stackoverflow.com/questions/2279240/how-can-i-edit-a-view-using-phpmyadmin-3-2-4 Googleztam míg te lusta voltál erre is. low

Dupla hozzászólás automatikusan összefûzve. ( 2016. Július 20. - 13:16:19 )

SHOW CREATE VIEW `accounts`
ezt írd be nehogy your_view_name-val low
Cím: SA-MP Mysql R33 - Probléma
Írta: gbr333 - 2016. Július 20. - 13:19:33
INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`)

 
Ezt kéne megkeresned a modban.
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 13:20:22
\"30029.w-800.h0.q100.jpg\"


Idézetet írta: Rolux date=1469013573\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"62291\" data-ipsquote-contentclass=\"forums_Topic

INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`)

 
Ezt kéne megkeresned a modban.
 
úgysincs a módba, akkor már egyből tudta volna. low
amúgy meg menj innen mert tudom mi a baj
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 13:30:52
A mód az folyamatosan fut az SQL-el. Csak annyi hogy regisztrációnál megadom a jelszót, kiadja a fent látható üzenetet, de ugyan úgy fut tovább :D
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 13:40:30
aha értem
DE AT ÁBLÁT ATMUTASD MEG VAGY AGYYYJ TEAMVIEWERT ÉS MEGNÉZEM ÉN ÉS KIJAVITOM FASZ
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 13:43:17
Hogyan mútassam meg. Magát a .sql-t linkeljem be???
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 13:52:13
csak másold ki a táblát a szövegből
az `accounts` tábla szerkezetét
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 14:10:02
CREATE TABLE `accounts` (
  `id` int(11) NOT NULL,
  `Online` int(11) NOT NULL DEFAULT \'0\',
  `UpdateDate` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `RegiDate` datetime DEFAULT NULL,
  `LastLogin` datetime DEFAULT NULL,
  `Username` varchar(32) NOT NULL DEFAULT \'\',
  `Key` varchar(256) NOT NULL DEFAULT \'\',
  `Email` varchar(256) NOT NULL DEFAULT \'\',
  `IP` varchar(32) NOT NULL DEFAULT \'0.0.0.0\',
  `SecureIP` varchar(32) NOT NULL DEFAULT \'0.0.0.0\',
  `Registered` int(11) NOT NULL DEFAULT \'0\',
  `ConnectedTime` int(11) NOT NULL DEFAULT \'0\',
  `Sex` int(11) NOT NULL DEFAULT \'1\',
  `Age` int(11) NOT NULL DEFAULT \'18\',
  `BirthDate` date NOT NULL DEFAULT \'0000-00-00\',
  `Band` int(11) NOT NULL DEFAULT \'0\',
  `PermBand` int(11) NOT NULL DEFAULT \'0\',
  `Warnings` int(11) NOT NULL DEFAULT \'0\',
  `Disabled` int(11) NOT NULL DEFAULT \'0\',
  `Level` int(11) NOT NULL DEFAULT \'1\',
  `AdminLevel` int(11) NOT NULL DEFAULT \'0\',
  `SeniorModerator` int(11) NOT NULL DEFAULT \'0\',
  `DonateRank` int(11) NOT NULL DEFAULT \'0\',
  `Respect` int(11) NOT NULL DEFAULT \'0\',
  `XP` int(11) NOT NULL DEFAULT \'0\',
  `Money` bigint(11) NOT NULL DEFAULT \'5000\',
  `Bank` bigint(11) NOT NULL DEFAULT \'20000\',
  `pHealth` float(10,5) NOT NULL DEFAULT \'50.00000\',
  `pArmor` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `pSHealth` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `Int` int(11) NOT NULL DEFAULT \'0\',
  `VirtualWorld` int(11) NOT NULL DEFAULT \'0\',
  `Model` int(11) NOT NULL DEFAULT \'299\',
  `SPos_x` float(20,5) NOT NULL DEFAULT \'0.00000\',
  `SPos_y` float(20,5) NOT NULL DEFAULT \'0.00000\',
  `SPos_z` float(20,5) NOT NULL DEFAULT \'0.00000\',
  `SPos_r` float(20,5) NOT NULL DEFAULT \'0.00000\',
  `BanAppealer` int(11) NOT NULL DEFAULT \'0\',
  `PR` int(11) NOT NULL DEFAULT \'0\',
  `HR` int(11) NOT NULL DEFAULT \'0\',
  `AP` int(11) NOT NULL DEFAULT \'1\',
  `Security` int(11) NOT NULL DEFAULT \'0\',
  `ShopTech` int(11) NOT NULL DEFAULT \'0\',
  `FactionModerator` int(11) NOT NULL DEFAULT \'0\',
  `GangModerator` int(11) NOT NULL DEFAULT \'0\',
  `Undercover` int(11) NOT NULL DEFAULT \'0\',
  `TogReports` int(11) NOT NULL DEFAULT \'0\',
  `Radio` int(11) NOT NULL DEFAULT \'0\',
  `RadioFreq` int(11) NOT NULL DEFAULT \'0\',
  `UpgradePoints` int(11) NOT NULL DEFAULT \'0\',
  `Origin` int(11) NOT NULL DEFAULT \'0\',
  `Muted` int(11) NOT NULL DEFAULT \'0\',
  `Crimes` int(11) NOT NULL DEFAULT \'0\',
  `Accent` int(11) NOT NULL DEFAULT \'0\',
  `CHits` int(11) NOT NULL DEFAULT \'0\',
  `FHits` int(11) NOT NULL DEFAULT \'0\',
  `Arrested` int(11) NOT NULL DEFAULT \'0\',
  `Phonebook` int(11) NOT NULL DEFAULT \'0\',
  `LottoNr` int(11) NOT NULL DEFAULT \'0\',
  `Fishes` int(11) NOT NULL DEFAULT \'0\',
  `BiggestFish` int(11) NOT NULL DEFAULT \'0\',
  `Job` int(11) NOT NULL DEFAULT \'0\',
  `Job2` int(11) NOT NULL DEFAULT \'0\',
  `Paycheck` int(11) NOT NULL DEFAULT \'0\',
  `HeadValue` int(11) NOT NULL DEFAULT \'0\',
  `Jailed` int(11) NOT NULL DEFAULT \'0\',
  `JailTime` int(11) NOT NULL DEFAULT \'0\',
  `WRestricted` int(11) NOT NULL DEFAULT \'0\',
  `Materials` int(11) NOT NULL DEFAULT \'0\',
  `Crates` int(11) NOT NULL DEFAULT \'0\',
  `Pot` int(11) NOT NULL DEFAULT \'0\',
  `Crack` int(11) NOT NULL DEFAULT \'0\',
  `Nation` int(1) NOT NULL DEFAULT \'0\',
  `Leader` int(11) NOT NULL DEFAULT \'-1\',
  `Member` int(11) NOT NULL DEFAULT \'-1\',
  `Division` int(11) NOT NULL DEFAULT \'-1\',
  `FMember` int(11) NOT NULL DEFAULT \'255\',
  `Rank` int(11) NOT NULL DEFAULT \'-1\',
  `DetSkill` int(11) NOT NULL DEFAULT \'0\',
  `SexSkill` int(11) NOT NULL DEFAULT \'0\',
  `BoxSkill` int(11) NOT NULL DEFAULT \'0\',
  `LawSkill` int(11) NOT NULL DEFAULT \'0\',
  `MechSkill` int(11) NOT NULL DEFAULT \'0\',
  `TruckSkill` int(11) NOT NULL DEFAULT \'0\',
  `DrugsSkill` int(11) NOT NULL DEFAULT \'0\',
  `ArmsSkill` int(11) NOT NULL DEFAULT \'0\',
  `SmugglerSkill` int(11) NOT NULL DEFAULT \'0\',
  `FishSkill` int(11) NOT NULL DEFAULT \'0\',
  `FightingStyle` int(11) NOT NULL DEFAULT \'0\',
  `PhoneNr` int(11) NOT NULL DEFAULT \'0\',
  `Apartment` int(11) NOT NULL DEFAULT \'-1\',
  `Apartment2` int(11) NOT NULL DEFAULT \'-1\',
  `Renting` int(11) NOT NULL DEFAULT \'-1\',
  `CarLic` int(11) NOT NULL DEFAULT \'1\',
  `FlyLic` int(11) NOT NULL DEFAULT \'0\',
  `BoatLic` int(11) NOT NULL DEFAULT \'1\',
  `FishLic` int(11) NOT NULL DEFAULT \'1\',
  `CheckCash` int(11) NOT NULL DEFAULT \'0\',
  `Checks` int(11) NOT NULL DEFAULT \'0\',
  `GunLic` int(11) NOT NULL DEFAULT \'1\',
  `Gun0` int(11) NOT NULL DEFAULT \'0\',
  `Gun1` int(11) NOT NULL DEFAULT \'0\',
  `Gun2` int(11) NOT NULL DEFAULT \'0\',
  `Gun3` int(11) NOT NULL DEFAULT \'0\',
  `Gun4` int(11) NOT NULL DEFAULT \'0\',
  `Gun5` int(11) NOT NULL DEFAULT \'0\',
  `Gun6` int(11) NOT NULL DEFAULT \'0\',
  `Gun7` int(11) NOT NULL DEFAULT \'0\',
  `Gun8` int(11) NOT NULL DEFAULT \'0\',
  `Gun9` int(11) NOT NULL DEFAULT \'0\',
  `Gun10` int(11) NOT NULL DEFAULT \'0\',
  `Gun11` int(11) NOT NULL DEFAULT \'0\',
  `DrugsTime` int(11) NOT NULL DEFAULT \'0\',
  `LawyerTime` int(11) NOT NULL DEFAULT \'0\',
  `LawyerFreeTime` int(11) NOT NULL DEFAULT \'0\',
  `MechTime` int(11) NOT NULL DEFAULT \'0\',
  `SexTime` int(11) NOT NULL DEFAULT \'0\',
  `PayDay` int(11) NOT NULL DEFAULT \'0\',
  `PayDayHad` int(11) NOT NULL DEFAULT \'0\',
  `CDPlayer` int(11) NOT NULL DEFAULT \'0\',
  `Dice` int(11) NOT NULL DEFAULT \'0\',
  `Spraycan` int(11) NOT NULL DEFAULT \'0\',
  `Rope` int(11) NOT NULL DEFAULT \'0\',
  `Cigars` int(11) NOT NULL DEFAULT \'0\',
  `Sprunk` int(11) NOT NULL DEFAULT \'0\',
  `Bombs` int(11) NOT NULL DEFAULT \'0\',
  `Wins` int(11) NOT NULL DEFAULT \'0\',
  `Loses` int(11) NOT NULL DEFAULT \'0\',
  `Tutorial` int(11) NOT NULL DEFAULT \'0\',
  `OnDuty` int(11) NOT NULL DEFAULT \'0\',
  `Hospital` int(11) NOT NULL DEFAULT \'0\',
  `Married` int(11) NOT NULL DEFAULT \'0\',
  `MarriedID` int(11) NOT NULL DEFAULT \'-1\',
  `MarriedTo` varchar(32) NOT NULL DEFAULT \'Nobody\',
  `ContractBy` varchar(32) NOT NULL DEFAULT \'Nobody\',
  `ContractDetail` varchar(64) NOT NULL DEFAULT \'None\',
  `WantedLevel` int(11) NOT NULL DEFAULT \'0\',
  `Insurance` int(11) NOT NULL DEFAULT \'0\',
  `NewMuted` int(11) NOT NULL DEFAULT \'0\',
  `NewMutedTotal` int(11) NOT NULL DEFAULT \'0\',
  `AdMuted` int(11) NOT NULL DEFAULT \'0\',
  `AdMutedTotal` int(11) NOT NULL DEFAULT \'0\',
  `HelpMute` int(11) NOT NULL DEFAULT \'0\',
  `Helper` int(11) NOT NULL DEFAULT \'0\',
  `ReportMuted` int(11) NOT NULL DEFAULT \'0\',
  `ReportMutedTotal` int(11) NOT NULL DEFAULT \'0\',
  `ReportMutedTime` int(11) NOT NULL DEFAULT \'0\',
  `VIPMuted` int(11) NOT NULL DEFAULT \'0\',
  `VIPMutedTime` int(11) NOT NULL DEFAULT \'0\',
  `GiftTime` int(11) NOT NULL DEFAULT \'0\',
  `AdvisorDutyHours` int(11) NOT NULL DEFAULT \'0\',
  `AcceptedHelp` int(11) NOT NULL DEFAULT \'0\',
  `AcceptReport` int(11) NOT NULL DEFAULT \'0\',
  `ShopTechOrders` int(11) NOT NULL DEFAULT \'0\',
  `TrashReport` int(11) NOT NULL DEFAULT \'0\',
  `GangWarn` int(11) NOT NULL DEFAULT \'0\',
  `FactionBanned` int(11) NOT NULL DEFAULT \'0\',
  `CSFBanned` int(11) NOT NULL DEFAULT \'0\',
  `VIPInviteDay` int(11) NOT NULL DEFAULT \'0\',
  `TempVIP` int(11) NOT NULL DEFAULT \'0\',
  `BuddyInvite` int(11) NOT NULL DEFAULT \'0\',
  `Tokens` int(11) NOT NULL DEFAULT \'0\',
  `PTokens` int(11) NOT NULL DEFAULT \'0\',
  `TriageTime` int(11) NOT NULL DEFAULT \'0\',
  `PrisonedBy` varchar(32) NOT NULL DEFAULT \'Nobody\',
  `PrisonReason` varchar(128) NOT NULL DEFAULT \'None\',
  `Flag` varchar(128) NOT NULL DEFAULT \'\',
  `TaxiLicense` int(11) NOT NULL DEFAULT \'0\',
  `TicketTime` int(11) NOT NULL DEFAULT \'0\',
  `Screwdriver` int(11) NOT NULL DEFAULT \'0\',
  `Smslog` int(11) NOT NULL DEFAULT \'0\',
  `Wristwatch` int(11) NOT NULL DEFAULT \'0\',
  `Surveillance` int(11) NOT NULL DEFAULT \'0\',
  `Tire` int(11) NOT NULL DEFAULT \'0\',
  `Firstaid` int(11) NOT NULL DEFAULT \'0\',
  `Rccam` int(11) NOT NULL DEFAULT \'0\',
  `Receiver` int(11) NOT NULL DEFAULT \'0\',
  `GPS` int(11) NOT NULL DEFAULT \'0\',
  `Sweep` int(11) NOT NULL DEFAULT \'0\',
  `SweepLeft` int(11) NOT NULL DEFAULT \'0\',
  `Bugged` int(11) NOT NULL DEFAULT \'0\',
  `pWExists` int(11) NOT NULL DEFAULT \'0\',
  `pWX` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `pWY` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `pWZ` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `pWVW` int(11) NOT NULL DEFAULT \'0\',
  `pWInt` int(11) NOT NULL DEFAULT \'0\',
  `pWValue` int(11) NOT NULL DEFAULT \'-1\',
  `pWSeeds` int(11) NOT NULL DEFAULT \'0\',
  `Warrants` varchar(128) NOT NULL DEFAULT \'\',
  `JudgeJailTime` int(11) NOT NULL DEFAULT \'0\',
  `JudgeJailType` int(11) NOT NULL DEFAULT \'0\',
  `BeingSentenced` int(11) NOT NULL DEFAULT \'0\',
  `ProbationTime` int(11) NOT NULL DEFAULT \'0\',
  `DMKills` int(11) NOT NULL DEFAULT \'0\',
  `Order` varchar(63) NOT NULL DEFAULT \'\',
  `OrderConfirmed` int(11) NOT NULL DEFAULT \'0\',
  `CallsAccepted` int(11) NOT NULL DEFAULT \'0\',
  `PatientsDelivered` int(11) NOT NULL DEFAULT \'0\',
  `LiveBanned` int(11) NOT NULL DEFAULT \'0\',
  `FreezeBank` int(11) NOT NULL DEFAULT \'0\',
  `FreezeHouse` int(11) NOT NULL DEFAULT \'0\',
  `FreezeCar` int(11) NOT NULL DEFAULT \'0\',
  `Hydration` int(11) NOT NULL DEFAULT \'0\',
  `DoubleEXP` int(11) NOT NULL DEFAULT \'0\',
  `EXPToken` int(11) NOT NULL DEFAULT \'0\',
  `RacePlayerLaps` int(11) NOT NULL DEFAULT \'0\',
  `Ringtone` int(11) NOT NULL DEFAULT \'0\',
  `VIPM` int(11) NOT NULL DEFAULT \'0\',
  `VIPMO` int(11) NOT NULL DEFAULT \'0\',
  `VIPExpire` int(11) NOT NULL DEFAULT \'0\',
  `VIPSold` int(11) NOT NULL DEFAULT \'0\',
  `GVip` int(11) NOT NULL DEFAULT \'0\',
  `Speedo` int(11) NOT NULL DEFAULT \'0\',
  `Firework` int(11) NOT NULL DEFAULT \'0\',
  `Boombox` int(11) NOT NULL DEFAULT \'0\',
  `DrawChance` int(11) NOT NULL DEFAULT \'0\',
  `GoldBoxTokens` int(11) NOT NULL DEFAULT \'0\',
  `RewardHours` float(10,5) NOT NULL DEFAULT \'0.00000\',
  `DMRMuted` int(11) UNSIGNED NOT NULL DEFAULT \'0\',
  `Watchdog` int(11) UNSIGNED NOT NULL DEFAULT \'0\',
  `CarsRestricted` tinyint(2) NOT NULL DEFAULT \'0\',
  `Flagged` tinyint(2) NOT NULL DEFAULT \'0\',
  `LepPoints` int(11) UNSIGNED NOT NULL DEFAULT \'0\',
  `LepSafePoints` int(11) NOT NULL DEFAULT \'0\',
  `LastCarWarning` int(11) NOT NULL DEFAULT \'0\',
  `CarWarns` int(11) NOT NULL DEFAULT \'0\',
  `Scripter` int(11) NOT NULL DEFAULT \'0\',
  `Hours` int(11) NOT NULL DEFAULT \'0\',
  `Paper` int(11) NOT NULL DEFAULT \'0\',
  `MailEnabled` int(11) NOT NULL DEFAULT \'1\',
  `Mailbox` int(11) NOT NULL DEFAULT \'0\',
  `UnreadMails` int(11) NOT NULL DEFAULT \'0\',
  `TreasureSkill` int(5) NOT NULL DEFAULT \'0\',
  `MetalDetector` int(5) NOT NULL DEFAULT \'0\',
  `HelpedBefore` int(11) NOT NULL DEFAULT \'0\',
  `Business` int(11) NOT NULL DEFAULT \'-1\',
  `BusinessRank` int(11) NOT NULL DEFAULT \'-1\',
  `Trickortreat` int(11) NOT NULL DEFAULT \'0\',
  `RHMutes` int(1) NOT NULL DEFAULT \'0\',
  `RHMuteTime` int(11) NOT NULL DEFAULT \'0\',
  `GiftCode` int(11) NOT NULL DEFAULT \'0\',
  `Table` int(11) NOT NULL DEFAULT \'0\',
  `OpiumSeeds` int(11) NOT NULL DEFAULT \'0\',
  `RawOpium` int(11) NOT NULL DEFAULT \'0\',
  `Heroin` int(11) NOT NULL DEFAULT \'0\',
  `Syringe` int(11) NOT NULL DEFAULT \'0\',
  `Skins` int(2) NOT NULL DEFAULT \'0\',
  `Hunger` int(11) NOT NULL DEFAULT \'50\',
  `HungerTimer` int(11) NOT NULL DEFAULT \'0\',
  `HungerDeathTimer` int(11) NOT NULL DEFAULT \'0\',
  `Fitness` int(11) NOT NULL DEFAULT \'0\',
  `Credits` int(11) NOT NULL DEFAULT \'0\',
  `LastCharmReceived` int(11) NOT NULL DEFAULT \'0\',
  `HealthCare` int(11) NOT NULL DEFAULT \'0\',
  `TotalCredits` int(11) NOT NULL DEFAULT \'0\',
  `911Muted` int(11) NOT NULL DEFAULT \'0\',
  `ForcePasswordChange` int(11) NOT NULL DEFAULT \'0\',
  `ReceivedCredits` int(11) NOT NULL DEFAULT \'0\',
  `Pin` varchar(256) NOT NULL DEFAULT \'\',
  `RimMod` int(11) NOT NULL DEFAULT \'0\',
  `Tazer` int(11) NOT NULL DEFAULT \'0\',
  `Cuff` int(11) NOT NULL DEFAULT \'0\',
  `CarVoucher` int(11) NOT NULL DEFAULT \'0\',
  `ReferredBy` varchar(32) NOT NULL DEFAULT \'Nobody\',
  `PendingRefReward` int(11) NOT NULL DEFAULT \'0\',
  `Refers` int(11) NOT NULL DEFAULT \'0\',
  `Developer` int(11) NOT NULL DEFAULT \'0\',
  `Famed` int(11) NOT NULL DEFAULT \'0\',
  `FamedMuted` int(11) NOT NULL DEFAULT \'0\',
  `DefendTime` int(11) NOT NULL DEFAULT \'0\',
  `VehicleSlot` int(11) NOT NULL DEFAULT \'0\',
  `PVIPVoucher` int(11) NOT NULL DEFAULT \'0\',
  `ToySlot` int(11) NOT NULL DEFAULT \'0\',
  `RFLTeam` int(11) NOT NULL DEFAULT \'-1\',
  `RFLTeamL` int(11) NOT NULL DEFAULT \'-1\',
  `VehVoucher` int(11) NOT NULL DEFAULT \'0\',
  `SVIPVoucher` int(11) NOT NULL DEFAULT \'0\',
  `GVIPVoucher` int(11) NOT NULL DEFAULT \'0\',
  `GiftVoucher` int(11) NOT NULL DEFAULT \'0\',
  `FallIntoFun` int(11) NOT NULL DEFAULT \'0\',
  `ContactSlot` int(11) NOT NULL DEFAULT \'0\',
  `HungerVoucher` int(11) NOT NULL DEFAULT \'0\',
  `Vials` int(11) NOT NULL DEFAULT \'0\',
  `BoughtCure` int(11) NOT NULL DEFAULT \'0\',
  `AdvertVoucher` int(11) NOT NULL DEFAULT \'0\',
  `ShopCounter` int(11) NOT NULL DEFAULT \'0\',
  `ShopNotice` int(11) NOT NULL DEFAULT \'0\',
  `SVIPExVoucher` int(11) NOT NULL DEFAULT \'0\',
  `GVIPExVoucher` int(11) NOT NULL DEFAULT \'0\',
  `VIPSellable` int(11) NOT NULL DEFAULT \'0\',
  `ReceivedPrize` int(11) NOT NULL DEFAULT \'0\'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 14:24:22
delete
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 14:34:44
stock g_mysql_CreateAccount(playerid, accountPassword[])
{
new string[256];
new passbuffer[129];
WP_Hash(passbuffer, sizeof(passbuffer), accountPassword);
format(string, sizeof(string), \"INSERT INTO `accounts` (`RegiDate`, `LastLogin`, `Username`, `Key`) VALUES (NOW(), NOW(), \'%s\',\'%s\')\", GetPlayerNameExt(playerid), passbuffer);
mysql_function_query(MainPipeline, string, false, \"OnQueryFinish\", \"iii\", REGISTER_THREAD, playerid, g_arrQueryHandle{playerid});
return 1;
}

 
Ez a karaktergenerálás. Mire írjam át?
Cím: SA-MP Mysql R33 - Probléma
Írta: Pedró - 2016. Július 20. - 14:37:35
defaszvagyok várj

Dupla hozzászólás automatikusan összefûzve. ( 2016. Július 20. - 14:37:43 )

szar az egész
na kezdjük előrről
Cím: SA-MP Mysql R33 - Probléma
Írta: grove4l - 2016. Július 20. - 15:34:33
Ha én regisztrálok akkor minden szép és jó. Menőn elmenti. Amint más feljön, a következő üzenetet kapom:
 
17:38:05] [join] Charles_Lowry has joined the server (******************)
[17:38:14] [MySQL] Query Error - (ErrorID: 1064) (Handle: 1)
[17:38:14] [MySQL] Check mysql_log.txt to review the query that threw the error.
[17:38:14] Dumping query from 2016/7/20 (17:38:14)
Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'\'5F08CE0516FA2921731DDDE3207E18D786E83652D8923489934E7486037B88BC32042F137ADF984\' at line 1 (index 0). Query:
 
[17:38:14] INSERT INTO `accounts` (`BirthDate`, `RegiDate`, `LastLogin`, `Username`, `Key`) VALUES (NOW(), NOW(), NOW(), \'Charles_Lowry\',\'5F08CE0516FA2921731DDDE3207E18D786E83652D8923489934E7486037B88BC32042F137ADF9846181C9FB0B7129D106C6CBBEB9DE3924FD6B71C041ABAE6A9