@Dominik Späte Hallo, ich habe heute den Datenbankserver von der MariaDB 10.5.xx auf die aktuelle Version 10.11.9 upgegradet. Alle Daten wurden erfolgreich übernommen bis auf folgende: -------------- select count(*) into @discard from schwimmshop-store.wm_danke_gutscheine_settings -------------- ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-store.wm_danke_gutscheine_settings' at line 1 -------------- select count(*) into @discard from schwimmshop-store.wm_danke_gutscheine -------------- ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-store.wm_danke_gutscheine' at line 1 -------------- select count(*) into @discard from schwimmshop-store.inetmarke_vouchers -------------- ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-store.inetmarke_vouchers' at line 1 -------------- select count(*) into @discard from schwimmshop-store.wm_danke_gutscheine_ranges -------------- ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-store.wm_danke_gutscheine_ranges' at line 1 Bitte schau mal drauf! Das Upgrade musste durchgeführt werden, da das andere Webseiten bei uns benötigen. Vg R.
Das dürfte weniger mit meinem Modul zu tun haben als mit dem "-" Zeichen im Datenbanknamen. Mit Backticks sollte es gehen: Code: select count(*) into @discard from `schwimmshop-store`.wm_danke_gutscheine_settings