1 ballroomdancer Jan 08, 2005 01:22
3 kiesow Jan 12, 2005 16:16
do any other php-scripts using mysql work?
4 ballroomdancer Jan 14, 2005 18:21
sadly I have no PHP scripts to test with beyond b2evolution and no avaialble work time to learn PHP and how to program PHP to access MySQL.
We were hoping the two would work together fine but sadly this hasn't been the case. :(
the file, in the b2evolution install directory phpinfo.php does run fine though. ;)
5 ballroomdancer Jan 19, 2005 19:26
I tried a different blog software that uses PHP and mySQL as a test. WorldPress also had the same problems as I had with b2evolution when it came to talking to MySQL.
any suggestions how to work around this problem of getting PHP and MySQL talking properly so I can use b2evolution?
6 fumanchu Feb 01, 2005 19:05
Best guess (since this happened to me ;):
You have a recent MySQL + PHP 4. MySQL has a new password format which older PHP's don't understand. You need to set up a user specifically for b2evolution, and use the OLD_PASSWORD() function:
grant all privileges on b2evolution.* for b2@localhost;
set password for b2@localhost = OLD_PASSWORD('pwd');
...replacing 'pwd' with your password.
7 borchenc Feb 16, 2005 07:49
Well, I think since this has happened to me before is that your problem is two fold. If you want to still use PHP5, it's perfectly fine. All you have to do is make sure that your PHP is calling up MySQL as a module because beginning with PHP5, MySQL isn't automatically called up. To do this, all you have to do is make sure the php_mysql.dll is in the root folder I believe and then you uncomment the php_mysql.dll in the php.ini file.
For the MySQL problem. My guess is that exactly what fumanchu said. Sorta... His explanation of how to solve it is right, the problem with it though is not PHP though. It's MySQL since I believe the algorithm (correct if you guys know I'm wrong) for the way the old password is stored in an old table is different than in a new table. This is caused if you're upgrading from an older version of MySQL. Give that a shot and tell us how it goes!
8 surferboy2 Feb 23, 2005 23:35
Where does php_mysql.dll reside and which root to I copy it too?
Then uncoment php_mysql.dll php.ini in C/windows correct?
hie,
i have the same problem...
i have:
MySQL 4.1.8
Abyss 2 Beta3
PHP 5.0.3
Win XP SP2
anyone can help ?