OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: gab74 on August 06, 2004, 06:41:37 am

Title: MYSQL fails on SL6000
Post by: gab74 on August 06, 2004, 06:41:37 am
I've try to install mysql_3.22.32-2_arm.ipk on my Zaurus SL6000
but when i run as root mysqlstart it fails :

this is mysql.err

# cat mysql.err

mysqld started on  Fri Aug 6 12:29:31 CEST 2004040806

 12:29:31  /usr/sbin/mysqld: Can't create/write to file'/var/lib/mysql/mysqld.pid' (Errcode: 13)040806 12:29:31  /usr/sbin/mysqld: Can't find file: './mysql/host.frm'(errno: 13)mysqld ended on  Fri Aug 6 12:29:31 CEST 2004mysqld started on  Fri Aug 6 12:29:56 CEST 2004040806 12:29:56  /usr/sbin/mysqld: Can't create/write to file'/var/lib/mysql/mysqld.pid' (Errcode: 13)040806 12:29:56  /usr/sbin/mysqld: Can't find file: './mysql/host.frm'(errno: 13)mysqld ended on  Fri Aug 6 12:29:56 CEST 2004



Any Helps


Thanks Gabriele
Title: MYSQL fails on SL6000
Post by: totaln00b on August 06, 2004, 08:16:03 am
I'm not sure if this is exactly the right solution to your problem, but have you tried editing the my.conf file in /etc/mysql to say that user=root rather than daemon or whatever else it is?

This worked for me, but is a bit on an insecure method, ie fine if all you want is to access the database locally, less good if you want your Z to work as a server

Hope this helps

Jo
Title: MYSQL fails on SL6000
Post by: gab74 on August 09, 2004, 11:45:55 am
OK. I TRYED and it works !!!

Thanks for this trics....
Title: MYSQL fails on SL6000
Post by: nothing on July 20, 2005, 02:18:43 am
#chmod 777 -R /var/lib/mysql
#chmod 777 /dev/null