Re: [Fontlinge-cvs] fontlinge_rc/scripts fontlinge_database_assistant,1.41,1.42
Brought to you by:
christian_boltz,
raettchen3
From: Joerg R. <ra...@ge...> - 2004-04-19 07:28:10
|
Hallo, Am So, den 18.04.2004 schrieb David Haller um 20:22: > Am Sun, 18 Apr 2004, Joerg Rossdeutscher schrieb: > >David? Liest du mit? Wieso gehtndasnich!?: Danke erstmal. Wir sind einen Schritt weiter: > doq( "INSERT INTO TKTest VALUES (?, ?, ?)" , undef, @arg ); In der Tat habe ich das "undef" =FCbersehen, bzw. das, was wir stattdessen verwenden: {RaiseError =3D> 0, PrintError =3D> 0} (Wobei dann wieder merkw=FCrdig ist, da=DF das bei mir nicht beachtet wird, aber das ist ein kosmetisches Problem von sp=E4ter) Gehen tut es aber leider immer noch nicht: execute_mysql_root( "GRANT ALTER,CREATE,DELETE,DROP,INDEX,INSERT,SELECT,UPDATE,USAGE ON ?.* TO ?\@? IDENTIFIED BY ?",($database,$username,$mysqlserver,$password) ); produziert: DBD::mysql::db do failed: 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 ''fontlinge'.* TO 'fontlinge'@'localhost' IDENTIFIED BY 'fontlin at /usr/local/bin/fontlinge_database_assistant line 325. ...leider ist die Meldung am Ende abgeschnitten. Ich habe es auch mal anders probiert und "database.*" =FCbergeben, damit das zusammenh=E4ngt, aber das war es auch nicht. Ich tippe drauf, da=DF das Quoting so nicht stimmt. Ach, und Christian, du hast anscheinend eine veraltete Doku, das steht inzwischen in einem anderen Kapitel: http://dev.mysql.com/doc/mysql/en/GRANT.html Any hints? Gru=DF, Ratti --=20 -o) fontlinge | Font management for Linux | Schriftenverwaltung in Li= nux /\\ http://freshmeat.net/projects/fontlin= ge/ _\_V http://www.gesindel.de https://sourceforge.net/projects/fontlin= ge/ |