Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
SQL ERROR
Puff
Huge Clucker
Posts: 231
Threads: 61
Joined: Oct 2013
Reputation:
0
#1
16.09.2017, 13:01
PHP код:
SQL ERROR
:
1062 Duplicate entry
'blalal'
for
key
'username'
what causes that error? ID is set on AutoIncrement, username causing problems.. sometimes.. not always.
Find
Reply
wallee
Huge Clucker
Posts: 266
Threads: 22
Joined: Jan 2017
Reputation:
0
#2
16.09.2017, 13:03
is the primary key on id or on username? if it's on username you need to change it to the id
Find
Reply
Puff
Huge Clucker
Posts: 231
Threads: 61
Joined: Oct 2013
Reputation:
0
#3
16.09.2017, 13:36
(
Последний раз редактировалось Puff; 16.09.2017 в 15:31.
)
Quote:
Originally Posted by
wallee
is the primary key on id or on username? if it's on username you need to change it to the id
PRIMARY to ID is set already..
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help