Tabelle wird nicht erstellt

In 10 Minuten startet der nächtliche Backupvorgang! Es kann währenddessen (ca. 10 Minuten) zu Einschränkungen bei der Nutzung des Forums kommen
Weitere Infos findet ihr im Thema Backup des Forums
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hi ich will versuchen, das die Tabelle über den Script erstellt wird...
    aber sie wird nicht erstellt...


    mein code:

    new string[1629] = "DROP TABLE IF EXISTS `accounts`;";
    strcat(string,"CREATE TABLE `accounts` (");
    strcat(string,"`id` int(11) NOT NULL AUTO_INCREMENT,");
    strcat(string,"`Name` varchar(24) NOT NULL,");
    strcat(string,"`Level` int(11) NOT NULL DEFAULT '1',");
    strcat(string,"`Geld` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Skin` int(11) NOT NULL DEFAULT '137',");
    strcat(string,"`Member` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Job` float NOT NULL DEFAULT '100',");
    strcat(string,"`Job Zeit` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Leader` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`FrakRank` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Adminlevel` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Supporter` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Ban` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Fuehrerschein` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Personalausweis` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Wantedlevel` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Krankenversicherung` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Verwarnungen` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Geschlecht` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Waffenschein` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Lunch` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Angelschein` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`iPod` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Fraktionsname` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Bank` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Geburtsjahr` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Jailtime` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Wanteds` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`Gestorben` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`PTX` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`PTY` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`PTZ` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`NextPayday` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"`ErsterLog` int(11) NOT NULL DEFAULT '0',");
    strcat(string,"PRIMARY KEY (`id`)");
    strcat(string,") ENGINE=MyISAM AUTO_INCREMENT=220 DEFAULT CHARSET=latin1;");
    mysql_query(string);

  • Das kommt in der log