Elencare I Database: differenze tra le versioni
Da ElettraWiki.
Creata pagina con "Category:Informatica Category:Amminstrazione Server Category:sysadmin Category:Database Per vedere quanti e quali database sono presenti sul server si può uti..." |
Nessun oggetto della modifica |
||
| Riga 3: | Riga 3: | ||
[[Category:sysadmin]] | [[Category:sysadmin]] | ||
[[Category:Database]] | [[Category:Database]] | ||
Per vedere quanti e quali database sono presenti sul server si può utilizzare la seguente procedura | Per vedere quanti e quali database sono presenti sul server si può utilizzare la seguente procedura da CLI: | ||
mysql -u root -p | <div id="atscreen"> # mysql -u root -p </div> | ||
il server risponderà chiedendovi la password dell'utente root di MySQL/MariaDB | |||
<div id="atscreen"> Enter password: </div> | |||
una volta digitata la password il server SQL mostrerà il suo prompt rimanendo in attesa | |||
<div id="atscreen"> Welcome to the MariaDB monitor. Commands end with ; or \g.<br> | |||
Your MariaDB connection id is 779<br> | |||
Server version: 10.5.9-MariaDB-1 Debian buildd-unstable<br> | |||
<br> | |||
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<br> | |||
<br> | |||
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.<br> | |||
<br> | |||
MariaDB [(none)]> </div> | |||
Versione delle 00:14, 9 mag 2021
Per vedere quanti e quali database sono presenti sul server si può utilizzare la seguente procedura da CLI:
# 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.