Creare Un DataBase: differenze tra le versioni
Da ElettraWiki.
m Protetto "Creare Un DataBase" ([Modifica=Consentito solo agli utenti autoconvalidati] (infinito) [Spostamento=Consentito solo agli utenti autoconvalidati] (infinito)) |
Nessun oggetto della modifica |
||
| Riga 3: | Riga 3: | ||
[[Category:sysadmin]] | [[Category:sysadmin]] | ||
[[Category:Database]] | [[Category:Database]] | ||
Per creare un | Per creare un DB usando la CLI si procede nel modo seguente:<br> | ||
al prompt di shell digitiamo '''<code>mysql -u root -p</code>''' | al prompt di shell digitiamo '''<code>mysql -u root -p</code>''' | ||
<div id="atscreen"> # mysql -u root -p </div> | <div id="atscreen"> # mysql -u root -p </div> | ||
Versione delle 11:45, 9 mag 2021
Per creare un DB usando la CLI si procede nel modo seguente:
al prompt di shell digitiamo mysql -u root -p
# mysql -u root -p
il server risponderà chiedendovi la password dell'utente root di MySQL/MariaDB
Enter password:
una volta digitata la password il server SQL mostrerà il suo prompt rimanendo in attesa
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 779
Server version: 10.5.9-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.