Wrt160nl Mysql segfault

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Ryusaki
DD-WRT Novice


Joined: 25 Aug 2014
Posts: 10

PostPosted: Fri Aug 29, 2014 8:08    Post subject: Wrt160nl Mysql segfault Reply with quote
Hi everyone !
I installed dd wrt V24-SP2 on my wrt160 nl with the build 21061.

As my router is an Atheros CPU i followed this tuto to install package on it :
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912
http://arouter.blogspot.fr/2011/07/software-installation-on-dd-wrt.html

Then i installed mysql-server with the opkg command. The installation is done without any error. But when i try to connect, i have this error :
"Can't connect to local Mysql server through socket '/tmp' (146)

So i tried this :
mysql -u root mysql < fill_help_tables.sql
Segmentation fault

And i have bo idea why do i have this error.

Hope my problem is clear for you and i already thank you for helping Smile
Sponsor
Ryusaki
DD-WRT Novice


Joined: 25 Aug 2014
Posts: 10

PostPosted: Mon Sep 01, 2014 8:52    Post subject: Reply with quote
Well, let's say this error is gone. 'Cause i'm now trying to start mysqld service and it's pretty tricky.

So i ran "mysql_install_db" and it's working. But when i try to start "mysqld", i have this error :

Can't find messagefile '/usr/share/mysql/english/errmsg.sys'

This file is in /opt/usr/share/mysql/english/errmsg.sys as I used opkg/openwrt methode to install it.

So my question is : How can I change the path to mysql take the right one ? Or maybe i can "cp" errmsg.sys in /usr but i can't do that.

Hope it's clear and you'll help me Smile Cya
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum