NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
vesper76
Dec 07, 2009Aspirant
Somehow broke logger, thereby breaking everything
For background on how I somehow got to this point: viewtopic.php?f=22&t=36105&start=0 I'm moving to this forum, because it's essentially a different question than I started with. The short versio...
Dwarf1
Dec 19, 2011Aspirant
Hi Peter,
Normally, when you run apt-get to install mysql, it should install a debian.cnf in the directory "/etc/mysql"
Maybe this file is present but installed with another name like "debian.cnf.dpkg" or "debian.cnf.dist" so you have to copy and rename it ?
Can you verify this directory ?
Otherwise, you could check the startup script of mysql to find out where mysql searches the file. Open the file "/etc/init.d/mysql" with vi editor and try to find lines that look like these ones
If you want, I can send you my "debian.cnf" file ... to help you to start mysql database :)
@++
Dwarf
Normally, when you run apt-get to install mysql, it should install a debian.cnf in the directory "/etc/mysql"
Maybe this file is present but installed with another name like "debian.cnf.dpkg" or "debian.cnf.dist" so you have to copy and rename it ?
Can you verify this directory ?
Otherwise, you could check the startup script of mysql to find out where mysql searches the file. Open the file "/etc/init.d/mysql" with vi editor and try to find lines that look like these ones
SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
CONF=/etc/mysql/my.cnf
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
If you want, I can send you my "debian.cnf" file ... to help you to start mysql database :)
@++
Dwarf
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!