MySQL (Italiano)

From ArchWiki
Revision as of 18:21, 5 March 2008 by Nss (Talk | contribs) (New page: Category:Daemons and system services (Italiano) Category:HOWTOs (Italiano) {{i18n_links_start}} {{i18n_entry|English|MySQL}} {{i18n_entry|Deutsch|MySQL (Deutsch)}} {{i18n_entry|It...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

Introduzione

MySQL è un database SQL, ampiamente diffuso, multi-threaded e multi-utente. Per informazioni sul prodotto, andate alla pagina ufficiale.

Istallazione

Istallate il pacchetto mysql:

# pacman -S mysql

Dopo istallato potrete lanciare lo script di avvio da root:

# /etc/rc.d/mysqld start

Questo effettuerà la configurazione di base come aggiungere al sistema gli utenti necessari e i file di log. Questo script vi indicherà inoltre come configurare MySQL dopo il primo avvio.

Configuration

Once you've started the MySQL server, you probably want to add a root account in order to maintain your MySQL users and databases. This can be done manually or automatically, as mentioned by the output of the above script. Either run the commands to set a password for the root account, or run the secure installation script.

You now should be able to do further configuration using your favorite interface. For example you can use MySQL's command line tool to login as root into your MySQL server:

$ mysql -p -u root

To start MySQL at bootup add mysqld to the list of daemons in /etc/rc.conf.