Home > Archive > MySQL ODBC Connector > September 2005 > Re: PHP PHPBB 2 MySQL 4 and a Big WTF?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: PHP PHPBB 2 MySQL 4 and a Big WTF?
Lathinx@gmail.com

2005-09-16, 1:23 pm

FOUND MY ANSWER:

just tried to install phpbb2 with the help of phpbb2-conf-mysql, but
the configuration process aborts with the following message:


You need to have mysql-server installed if you want the MySQL
database to be hosted locally. Aborting.


This is due to line 40 in phpbb2-conf-mysql's postinst script:


if [ "$dbserver" = localhost ] && ! [ -e /usr/share/doc/mysql-server
];


I have mysql-server-4.1 installed, which has its documentation in
/usr/share/doc/mysql-server-4.1. If I add -4.1 to the above line the
configuration completes without further problems.


I suggest you to test for /usr/sbin/mysqld instead, which should be
safer. I'm not including a patch since the change is so trivial, but I

can of course provide one, should you so prefer.


Regards


Diego Biurrun


-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


Versions of packages phpbb2-conf-mysql depends on:
ii debconf 1.4.30.11 Debian configuration
management sy
ii makepasswd 1.10-2 Generate and encrypt
passwords
ii mysql-client-4.1 [mysql-clien 4.1.10-1 mysql database client
binaries
ii php4-mysql 4:4.3.10-9 MySQL module for php4
ii phpbb2 2.0.13-2 A fully featured and
skinneable fl
ii ucf 1.14 Update Configuration File:
preserv
ii wwwconfig-common 0.0.42 Debian web auto
configuration


-- debconf information:
phpbb2-conf-mysql/dbfailcreatetables:
phpbb2-conf-mysql/nodbpurge:
phpbb2-conf-mysql/dbfailcreate:
phpbb2-conf-mysql/dbfailcreateuser:
phpbb2-conf-mysql/dbserver: localhost
phpbb2-conf-mysql/dbsetup: Create
phpbb2-conf-mysql/db_created: false
phpbb2-conf-mysql/db_version:
phpbb2-conf-mysql/dbname: phpbb2
phpbb2-conf-mysql/redodb: false
phpbb2-conf-mysql/dbuser: phpbb2

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com