Installazione#
aptitude install mysql-server
Avvio#
/etc/init.d/mysql startUso di mysql in rete#
La modifica che sto per suggerirvi è opzionale ed è consigliata nel caso abbiate dei computer in rete e voleste provare il vostro webserver anche da altri computer appartenenti alla LAN.Editate /etc/mysql/my.cnf
Trovate la riga che dice bind-address = 127.0.0.1 e sostituite 127.0.0.1 col vostro indirizzo ip nella rete. Salvate e chiedete il file.
cambio password dell’utente root (di MySQL non del sistema)#
mysqladmin -u root password *vostra-password*poi non rimane altro che loggarsi con la nuova password che vi verrà richiesta
mysql -u root -p
If you are running PHP you will also need to install the php module for mysql 5: sudo apt-get install php5-mysql
To create a new database, use the mysqladmin command:
mysqladmin create
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 14-Apr-2010 14:30 by RaffaelePedrini.