Jump to content
Froxlor Forum

Archived

This topic is now archived and is closed to further replies.

frontline

Debian Install - MySQL error

Recommended Posts

Hello.

 

I was trying to investigate bug #249 (http://bugs.froxlor.org/view.php?id=249) and I want to make a clean install in Debian Lenny, 64-bit.

aptitude install froxlor awstats

 

When I get to configure step, the install always stops at this:

Testing if MySQL-root-username and password are correct...Establishing connection failed, exiting
mysql error number: 1045
mysql error desc: Access denied for user 'root'@'localhost' (using password: NO)
Time/date: 31/05/2010 04:41 AM
Script: /froxlor/install/install.php
Referer: http://xxx.xxx.xxx.xxx/froxlor/install/install.php?check=1

 

I tried with MySQL 5.0 from official repo and with MySQL 5.1 from dotdeb.org. Same error.

 

Froxlor is not supposed to use password auth with MySQL ?

 

Am I missing something ?

 

Regards,

/Sorin

Share this post


Link to post
Share on other sites

Froxlor should set the root-password if there is none yet...this worked for...i don't know, years. Maybe debian changed something in the mysql-deb? Anybody know something about that?

Share this post


Link to post
Share on other sites

Firest:

i would like to say the deb package of froxlor must be with mysql-client mandatory not mysql-server because mysql-server may be installed in an other server.

 

Second:

Like others php applications files must be install in /usr/share/... like phpmyadmin/roundcube.. and symlink in /etc for configuraition. do not install in /var/www

 

bst regards.

 

 

Solved.

 

Same issue with /tmp permissions (http://bugs.froxlor.org/view.php?id=249#c588), so during installing mysql-server, the root account was not created.

It's something on VPS images on my provider.

 

Didn't know either about something changed in Debian policy :)

 

Regards,

/Sorin

Share this post


Link to post
Share on other sites

Firest:

i would like to say the deb package of froxlor must be with mysql-client mandatory not mysql-server because mysql-server may be installed in an other server.

this however, is not common enough that im going to break that for lenny, i might do that for the squeeze package as it is not considered beeing finished anyway (which will change when squeeze is actually freezing, which means i'll get work done by then)

 

Second:

Like others php applications files must be install in /usr/share/... like phpmyadmin/roundcube.. and symlink in /etc for configuraition. do not install in /var/www

 

bst regards.

nothing for lenny. i'll do that for squeeze later (since i want to get rid of the lintian warnings :P )

Share this post


Link to post
Share on other sites





×
×
  • Create New...