CREATE DATABASE klappt nicht

gamecard

Lieutenant
Registriert
Apr. 2010
Beiträge
776
kann mir jemand sagen was jetzt los ist ?


Ich möchte eine DB erstellen mit der Mariadb, aber klappt nicht ...
im netz steht soviel aber bei mir klappt es nicht, frustrierend

Code:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 72
Server version: 10.5.15-MariaDB-0+deb11u1 Debian 11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> CREATE DATABASE zm_db
    -> show
    -> Ctrl-C -- exit!
Aborted
root@camserver:/etc/zm# mariadb
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 73
Server version: 10.5.15-MariaDB-0+deb11u1 Debian 11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> status
--------------
mariadb  Ver 15.1 Distrib 10.5.15-MariaDB, for debian-linux-gnu (aarch64) using  EditLine wrapper

Connection id:          73
Current database:
Current user:           root@localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server:                 MariaDB
Server version:         10.5.15-MariaDB-0+deb11u1 Debian 11
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8mb4
Db     characterset:    utf8mb4
Client characterset:    utf8
Conn.  characterset:    utf8
UNIX socket:            /run/mysqld/mysqld.sock
Uptime:                 1 hour 30 min 54 sec

Threads: 1  Questions: 85  Slow queries: 0  Opens: 32  Open tables: 25  Queries per second avg: 0.015
--------------

MariaDB [(none)]> CREATE DATABASE zb_db
    -> Ctrl-C -- exit!
Aborted
root@camserver:/etc/zm# mariadb
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 74
Server version: 10.5.15-MariaDB-0+deb11u1 Debian 11

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> CREATE DATABASE "zb_db"
    -> Ctrl-C -- exit!
Aborted
root@camserver:/etc/zm#
 
Das Semikoilon vergessen? Versuchs mal mit "CREATE DATABASE zm_db;".
 
  • Gefällt mir
Reaktionen: whats4 und gamecard
Danke es hat geklappt so ein scheiße echt...man muss es nur lesen ...
 
  • Gefällt mir
Reaktionen: Syagrius und whats4
und du bist als root unterwegs. Das bedeutet vermutlich, dass du nen remote root login hast. Nicht gut :) macht das mal zu.

und wenn das ding am Internet haengt:
sudo mysql_secure_installation
 
  • Gefällt mir
Reaktionen: gamecard, _Shorty und AwesomSTUFF
Zurück
Oben