pali@Pali:~$ sudo mysqld 080610 14:35:26 InnoDB: Started; log sequence number 0 5326199 080610 14:35:26 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address 080610 14:35:26 [ERROR] Do you already have another mysqld server running on port: 3306 ? 080610 14:35:26 [ERROR] Aborting 080610 14:35:26 InnoDB: Starting shutdown... 080610 14:35:28 InnoDB: Shutdown completed; log sequence number 0 5326199 080610 14:35:28 [Note] mysqld: Shutdown complete pali@Pali:~$ sudo /etc/init.d/mysql start * Starting MySQL database server mysqld [fail] pali@Pali:~$co s tym?
nejde spustit mysql databazu
Pre pridávanie komentárov sa musíte prihlásiť.
sudo /etc/init.d/mysql start
netstat -tn | grep 3306
Iba som to zrazu zistil, ked som potreboval sa spojit do mysql cez php.
Ale prisiel som na jednu vec. Ak v /etc/rc.d/ nastavim aby sa mysql startovalo pred hal, tak mysql sa spusti bez probelmov.
Akonahle spustim hal (hoci ho uz aj vypnem) mysql databazu ani nerestartujem ani nevzpnem po vypnuti.
Ale preco? nechapem tomu.
nasiel som bug na adrese http://bugs.mysql.com/bug.php?id=28516
a konecne som zistil v com bol problem.
Po upgrade nejakych balikov sa prenuloval subor /etc/network/interfaces v ktorom bolo:
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
co zapricinilo ze neexistovala adresa localhost resp. 127.0.0.1 a cize sa ziadna aplikacia ani apache nedokazala pripojit na localhost
subor v etc som opravil a uz funguje vsetko bez problemov
pali@Pali:~$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld [ OK ]
pali@Pali:~$ sudo /etc/init.d/mysql start
* Starting MySQL database server mysqld [fail]
pali@Pali:~$ netstat -tn | grep 3306
pali@Pali:~$
ta mysql ti ide, tento prikaz netstat -tn | grep 3306 nevypise ani mne nic a viem ze mi ta mysql ide.