Author Topic: MYSQL fails on SL6000  (Read 2563 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
MYSQL fails on SL6000
« 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
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

totaln00b

  • Full Member
  • ***
  • Posts: 104
    • View Profile
MYSQL fails on SL6000
« Reply #1 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
CL 860, cacko  1.23 full, Sandisk 512Mb CF, Kodak 256Mb SD, Symbol Spectrum24 wifi
SL 5500, standard rom, 256Mb SD, CF GPS

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
MYSQL fails on SL6000
« Reply #2 on: August 09, 2004, 11:45:55 am »
OK. I TRYED and it works !!!

Thanks for this trics....
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

nothing

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http:///dev/null
MYSQL fails on SL6000
« Reply #3 on: July 20, 2005, 02:18:43 am »
#chmod 777 -R /var/lib/mysql
#chmod 777 /dev/null
[span style=\'font-size:8pt;line-height:100%\']
Sharp Zaurus SL-5500 (Sharp ROM 3.13)
Sharp Zaurus SL-C1000 (Cacko 1.23+OpenBSD 3.9)
4Gb SD & 4GB CF, Pretec CF Modem/WLAN/Trio, Billionton CF Bluetooh, USB AMDTek II Lan.
[/span]