mysql

Postate qui se avete consigli per migliorare i pacchetti disponibili in questo sito o se avete problemi con installazione, funzionamento o altro.

Moderatore: Staff

Regole del forum
1) Citare in modo preciso il nome del pacchetto.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

mysql

Messaggio da vanescar »

ciao, urgentemente un programma chiede x completare l'installazione un server database, cosi ho installato e attivato da mysql_install_db
root@slacky:/home/vanescar# cd /var/lib/mysql/
root@slacky:/var/lib/mysql# mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
050705 13:32:28 /usr/libexec/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h slacky password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
ma nn vuole partire...nn capisco come mai??
root@slacky:/home/vanescar# /etc/rc.d/rc.mysqld start
root@slacky:/home/vanescar# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
050710 05:29:03 mysqld ended
se eseguo il test:
root@slacky:/home/vanescar# mysqltest
mysqltest: Failed in mysql_real_connect(): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
come posso fare?? e se cambio database che potrei installare ?

Avatar utente
Darathorn
Linux 2.x
Linux 2.x
Messaggi: 315
Iscritto il: dom 28 nov 2004, 0:00
Nome Cognome: Francesco Braga
Slackware: 12.1
Kernel: 2.6.24.5-smp
Desktop: fluxbox
Località: Rezzato
Contatta:

Messaggio da Darathorn »

vai qua e troverai la soluzione ai tuoi problemi

vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

Messaggio da vanescar »

grazie ho risolto.....mysql e' connesso

Rispondi