Register for your free account! | Forgot your password?

You last visited: Today at 02:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SQL Fehler

Discussion on SQL Fehler within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
x"Kazuki's Avatar
 
elite*gold: 50
Join Date: Aug 2014
Posts: 508
Received Thanks: 201
Exclamation SQL Fehler

HaliHalo!

Bekomme bei der Code:


Diese Fehlermeldung;


Frage ist, woran es liegt & wie ich es behebe.


Mit freundlichen Grüßen
x"Kazuki is offline  
Old 03/05/2015, 17:29   #2
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Your item_proto table has a different number of fields than your query
.Shōgun is offline  
Old 03/05/2015, 17:39   #3

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
du kannst vor values in klammern noch die spalten schreiben

insert into [table] ([column1], [column2], ...) values ([value to column1], ...);
rollback is offline  
Old 03/05/2015, 18:46   #4


 
.Marcel''s Avatar
 
elite*gold: 100
Join Date: Sep 2009
Posts: 8,143
Received Thanks: 2,763
Quote:
Originally Posted by [Sensenmann] View Post
du kannst vor values in klammern noch die spalten schreiben

insert into [table] ([column1], [column2], ...) values ([value to column1], ...);
Das hilft ihm aber nicht weiter. Sein Query und Tabelle unterscheiden sich nun mal das kann nicht gehen.
.Marcel' is offline  
Old 03/05/2015, 19:03   #5
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Post the definition of your item_proto table
.Shōgun is offline  
Old 03/05/2015, 21:23   #6
 
x"Kazuki's Avatar
 
elite*gold: 50
Join Date: Aug 2014
Posts: 508
Received Thanks: 201
Meine item_proto hatte eine Spalte mehr.

Nun kommt aber das. SQL ist eig. ganz Simple,trotzdem habe ich mich noch nie mit geschäftigt. (Lernen in der Schule nur Access,ohne SQL):


Danke an alle & Juan:*


Mit freundlichen Grüßen
x"Kazuki is offline  
Old 03/05/2015, 21:45   #7
 
infinty04's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 118
Received Thanks: 20
versuch mal das so

infinty04 is offline  
Old 03/05/2015, 22:36   #8
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Quote:
Out of range value for column 'socket1' at row 1
This means that you are trying to insert a numeric value too big for the data type defined for this field (example, 3269454 on a TINYINT field).



Solution - change the field data type to INT

Quote:
Data too long for column 'name' at row 1
This means you are inserting a string of text which is longer than the limit defined in the table definition for the 'name' field (which should be of type VARCHAR or CHAR).

Solution - Increase the SIZE of the field.
.Shōgun is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
So ein Fehler gibt es nicht, DB alels funzt ingame Fehler -.-
01/19/2012 - Metin2 Private Server - 6 Replies
Hey Com, ich habe alles gestartet (Hamachi Daroo Files). Navicat geht, alles funzt nur folgendes: Wenn ich mich mit falschen Logins einlogge: Dieser Account existiert nicht. Wenn ich richtige Daten eingebe: Fehler beim Verbinden mit dem Server
Infinite Aion: Fehler (1024) Fehler beim initialisieren des Spiels
06/09/2011 - Aion Private Server - 5 Replies
Hi Leute, ich hab ein Probem mit AION: jedesmal wenn ich starte, egal ob mit dem NCSoft Launcher oder mit dem Infinite Aion Launcher kommt die Meldung Fehler beim initialisieren des Spiels... Hab schon alle möglichen Sprachkombinationen durchprobiert, da es überall heißt man soll Region und Sprache beim NCSoft Launcher ändern und dann gehts... Alles probiert, und siehe da: geändert hat sich nichts... Immer noch der Fehler 1024... wäre nett, wenn mir da jemand helfen könnte und auch...
Fehler : java.net.socet.exception:connection reset fehler bitte um hilfe
12/21/2010 - Minecraft - 9 Replies
Hab denn java.net.socet.exception:connection reset fehler immer und immer wieder :( könnt ihr mir dabei vill helfen? :) LG DieVerrückteMango =)



All times are GMT +1. The time now is 02:14.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.