[ MarkoBalkan @ 17.09.2011. 19:44 ] @
znam da je baza stara, ali je ja jednostavno moram instalirati na debian.

skinuo sam mysql-server i mysql-client sa glibc.
oba paketa su rpm.

prebacio sa alien u deb paket.

instalacija prošla bez problema.


pokrenem mysq_install_db, skripta kreira /var/lib/mysql

Code:

root@xxx:/# /usr/bin/mysqld_safe &
[1] 2644
root@xxx:/# nohup: ignoring input and redirecting stderr to stdout



Starting mysqld daemon with databases from /var/lib/mysql/
STOPPING server from pid file /var/lib/mysql//xxx.pid
110917 20:43:53  mysqld ended

^C
[1]+  Done                    /usr/bin/mysqld_safe
root@xxx:/# 


root@xxx:/# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
root@xxx:/# 


root@xxx:/# service mysql start
/etc/init.d/mysql: 73: source: not found
Starting MySQL
.................................../etc/init.d/mysql: 256: log_failure_msg: not found
root@xxx:/# 




[ bogdan.kecman @ 17.09.2011. 19:48 ] @
sta stoji u error log-u

startuj mysqld rucno (mysqld --default-file=/etc/my.cnf ) i pusti ga da pici na stdout greske dok se dize
[ MarkoBalkan @ 18.09.2011. 10:55 ] @
root@xxx:/var/lib/mysql# mysqld --default-file=/etc/my.cnf
110918 11:49:16 [ERROR] mysqld: unknown variable 'default-file=/etc/my.cnf'



u etc/init.d/ imam samo mysql

root@xxx:/var/lib/mysql# /usr/bin/mysqld_safe &

u err file imam

Code:

110918 11:52:27  mysqld started
nohup: ignoring input
/usr/sbin/mysqld: File './xxx-bin.index' not found (Errcode: 13)
110918 11:52:27 [ERROR] Could not use artrasvjeta-bin for logging (error 13). Turning logging off for the whole duration of the MySQL server process. To turn it on again: fix the cause, shutdown the MySQL server and restart it.
110918 11:52:27 [ERROR] Aborting

110918 11:52:27 [Note] /usr/sbin/mysqld: Shutdown complete

110918 11:52:27  mysqld ended




mysql.sock je uredno kreiran u /var/lib/mysql

ovaj problem sam imao na fedori, dignuo mysql i sve prošlo ok, dok na debianu neće.
[ MarkoBalkan @ 18.09.2011. 15:18 ] @
riješeno

nakon
mysql_install_db
pokrenuti
/etc/init.d/mysql start