Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 15:31

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

Advertisement



[H]Mysql Update in 2 Tabellen

Discussion on [H]Mysql Update in 2 Tabellen within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
[H]Mysql Update in 2 Tabellen

PHP Code:
UPDATE account.account 
            JOIN player
.player JOIN account.ip_check
                SET account
.status='BLOCK'ip_check.aPw='lol' 
            
WHERE account.id='3333431' AND player.name='[Q]xnoa'
es funktioniert nicht ganz wie ich möchte, in ip_chek.aPw werden alle werte auf 'lol' geändert hoffe mir kann jmd helfen.

Mfg Noa
©by Noa is offline  
Old 04/02/2013, 14:57   #2
 
Fear *_*'s Avatar
 
elite*gold: 2
Join Date: Mar 2009
Posts: 1,427
Received Thanks: 584
Öhm ich blick grad garnet, was du überhaupt machen willst hehe?
Fear *_* is offline  
Old 04/02/2013, 15:00   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
ich wollte mich bannen und gleichzeitig etwas anderes ändern, somit brauche ich keine 2 querys zu schreiben.

Mein state auf BLOCK stellen und ein pw auf lol ändern und das in 1 query, problem ist, die werte sind in 2 verschiedenen tabellen
©by Noa is offline  
Old 04/02/2013, 15:04   #4
 
Fear *_*'s Avatar
 
elite*gold: 2
Join Date: Mar 2009
Posts: 1,427
Received Thanks: 584
Die Beiden tabellen befinden sich in account? oder? Habe bei deiner obrigen Query überhaupt kein überblick
Fear *_* is offline  
Old 04/02/2013, 15:07   #5
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
was ist da unübersichtlich?, habe es extra so geschrieben damit man es besser sehen kann
©by Noa is offline  
Old 04/02/2013, 15:12   #6
 
››«GoldApfel«'s Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 255
Received Thanks: 19
Verbinde es doch !

es kann nicht miteinander verbinden
››«GoldApfel« is offline  
Old 04/02/2013, 15:18   #7
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
aber es geht so wie ich es habe nur updatet er auch alle zeilen in ip_check.aPw
©by Noa is offline  
Old 04/02/2013, 15:25   #8
 
Fear *_*'s Avatar
 
elite*gold: 2
Join Date: Mar 2009
Posts: 1,427
Received Thanks: 584
Also ich habs eben mal versucht gleichzeitig in account.account und player.player was zu ändern und es hat geklappt. Hier:

PHP Code:
UPDATE account.account,
                
player.player
    SET account
.account.id 9794player.player.account_id 84541
    WHERE player
.player.name 'Fear' and account.account.login 'name' 
Fear *_* is offline  
Thanks
2 Users
Old 04/02/2013, 15:26   #9
 
››«GoldApfel«'s Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 255
Received Thanks: 19
Ich glaube er meint was anderes Fair !
››«GoldApfel« is offline  
Old 04/02/2013, 15:37   #10
 
elite*gold: 0
Join Date: Mar 2012
Posts: 765
Received Thanks: 535
passt, danke
©by Noa is offline  
Old 01/13/2015, 09:14   #11
 
elite*gold: 0
Join Date: Jun 2009
Posts: 11
Received Thanks: 0
hmm
mortaciune is offline  
Old 01/13/2015, 11:17   #12
 
DerForenLeser's Avatar
 
elite*gold: 40
Join Date: Nov 2009
Posts: 1,159
Received Thanks: 442
Quote:
Originally Posted by mortaciune View Post
hmm
Wenn Du eine Vorstellung posten solltest, wird der Server direkt mal nen dislike, da kann er noch so gut sein, wenn Du hier Threads von 2013 pushed und dann auch noch mit "hmm".
DerForenLeser is offline  
Reply


Similar Threads Similar Threads
[VisualBasic] MySQL Tabellen Inhalt auslesen lassen?!?!
02/08/2013 - .NET Languages - 5 Replies
Hey Community, hab eine Frage, ich hab es bis jetzt nur per .PHP geschafft, und zwar, die Items aus der Tabelle "item_proto" in meiner Datenbank auszulesen. Dies ist gerade per Homepage-URL erreichbar, aber ich würde gerne ein kleines Tool für unsere Community erstellen, wo man alle Items und Mobs sehen kann und nicht immer mich fragen muss oder irgendwie was anderes. Es gibt ja bestimmt die eine oder andere Mobs oder NPCs dessen ID man nicht weiß oder einige Items, geht jedem so....
Problem with update Mysql.!
01/28/2012 - CO2 Private Server - 2 Replies
Hey Professionals i've Problem with my Source, i made Change Name Npc but there were a problem when i change my name from npc it doesn't make any sense. and i put the code it's not work My Source Uses SubSonic Two Codes Deon't Work First code
[2010er Files] Mysql Tabellen
03/28/2011 - Metin2 Private Server - 0 Replies
Hey liebe Com, Ich wollte mal fragen, ob einer die Tabellen für diesen Error hat : DB Syserr : SYSERR: Mar 28 11:01:21 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Column 'name' in field list is ambiguous query: SELECT empire, pid, name, money, windate FROM monarch a, player b where a.pid=b.id SYSERR: Mar 28 11:01:21 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Column 'name' in field list is ambiguous query: SELECT pid, name, date FROM monarch_candidacy a,...
[Frage]Wie kann man die Mysql Tabellen über den Root repaieren
09/04/2010 - Metin2 Private Server - 4 Replies
Hay Com.. Weiß vill iwer wie man die Mysql Tabellen über den Root reparieren? Hoffe auf schnelle antwort.. Mfg.



All times are GMT +1. The time now is 15:32.


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.