MySQL
Inviato: ven 31 mar 2006, 19:06
mi da questo errore:
Che faccio?
Codice: Seleziona tutto
bash-3.00$ mysql_install_db
mkdir: cannot create directory `/var/lib/mysql//mysql': Permission denied
chmod: cannot access `/var/lib/mysql//mysql': Permission denied
mkdir: cannot create directory `/var/lib/mysql//test': Permission denied
chmod: cannot access `/var/lib/mysql//test': Permission denied
Installing all prepared tables
060331 19:02:38 [Warning] Can't create test file /var/lib/mysql/ToPoLiNuX.lower-
test
/usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
060331 19:02:38 [ERROR] Aborting
060331 19:02:38 [Note] /usr/libexec/mysqld: Shutdown complete
/usr/bin/mysql_create_system_tables: line 663: 29685 Broken pipe cat
<<END_OF_DATA
use mysql;
set table_type=myisam;
$c_d
$i_d
$c_h
$i_h
$c_u
$i_u
$c_f
$i_f
$c_t
$c_c
$c_ht
$c_hc
$c_hr
$c_hk
$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls
END_OF_DATA
Installation of system tables failed!
Examine the logs in /var/lib/mysql/ for more information.
You can also try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql/ that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
bash-3.00$ mysql_install_db
mkdir: cannot create directory `/var/lib/mysql//mysql': Permission denied
chmod: cannot access `/var/lib/mysql//mysql': Permission denied
mkdir: cannot create directory `/var/lib/mysql//test': Permission denied
chmod: cannot access `/var/lib/mysql//test': Permission denied
Installing all prepared tables
060331 19:03:30 [Warning] Can't create test file /var/lib/mysql/ToPoLiNuX.lower-
test
/usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
060331 19:03:30 [ERROR] Aborting
060331 19:03:30 [Note] /usr/libexec/mysqld: Shutdown complete
/usr/bin/mysql_create_system_tables: line 663: 29707 Broken pipe cat
<<END_OF_DATA
use mysql;
set table_type=myisam;
$c_d
$i_d
$c_h
$i_h
$c_u
$i_u
$c_f
$i_f
$c_t
$c_c
$c_ht
$c_hc
$c_hr
$c_hk
$c_tzn
$i_tzn
$c_tz
$i_tz
$c_tzt
$i_tzt
$c_tztt
$i_tztt
$c_tzls
$i_tzls
END_OF_DATA
Installation of system tables failed!
Examine the logs in /var/lib/mysql/ for more information.
You can also try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql/ that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
bash-3.00$ /usr/libexec/mysqld --skip-grant &
[1] 29709
060331 19:03:49 [Warning] Can't create test file /var/lib/mysql/ToPoLiNuX.lower-
test
/usr/libexec/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13)
060331 19:03:49 [ERROR] Aborting
060331 19:03:49 [Note] /usr/libexec/mysqld: Shutdown complete
Che faccio?