PDA

View Full Version : Help me, lỗi cài MySQL !!!!



phongloi
11-09-2009, 09:17
Khi cài đặt mySQL trên Solaris 10, em làm theo các bước hướng dẫn, nhưng đến đoạn gõ lệnh:
"bash-3.00$ ./mysql_install_db --user=mysql --ldata=/opt/mysql/mysql/
data/"
thì nó báo lỗi:
Neither host 'abc' nor 'localhost' could be looked up with
/opt/mysql/mysql/bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option

Em đã thử nhiều cách mà không được, các bác làm ơn giúp em với!
THansk!!!!!!!!!!!!!!

thanhphamtien
06-11-2009, 11:09
Theo tớ biết, bạn cần change vài thứ trong file my.conf, đó là file config của MySql. Bao gồm các thông số liên quan đến hostname, user, stack, heap...