PDA

View Full Version : mysql instalation problem


Troto
27-06-2008, 22:16
Hi all

I tried to install mysql but faild.

After ipkg install mysql i get this error:

Configuring mysql
syntax error
syntax error
postinst script returned status 255
ERROR: mysql.postinst returned 255


Anyone got an ideea how to make it run ?

darkest_star
27-06-2008, 22:42
Hi all

I tried to install mysql but faild.

After ipkg install mysql i get this error:

Configuring mysql
syntax error
syntax error
postinst script returned status 255
ERROR: mysql.postinst returned 255


Anyone got an ideea how to make it run ?

Hi,

Please check, if bash is the shell in /opt/bin/update-alternatives

see
http://wl500g.info/showthread.php?t=11398

had the same problem with other packages.... :(

Troto
27-06-2008, 22:45
yes it's there

It seems that i found the solution

I installed mysql on my pc, then uploaded the mysql (with DB data and struct) folder to /opt/var/lib/mysql/mysql and then started the server and that seems to have worked even if i had mysql 5 installed on my pc :)

Unfortunately i can't use phpmyadmin because mysql or pdo extension does not seem to work :(

LE:
it seems that the extensions do not exist
where can i download them ?

Troto
28-06-2008, 15:27
ok, I installed phpmyadmin using ipkg then removed it.
install provided me with mysql and mysqli extensions and i manually added them to php.ini and it seems to work