1.4 M2 update?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

1.4 M2 update?

Post by AndrewB »

I was trying to update my test 1.3.9 system to 1.4 M2

Any idea what is wrong? as I get the following error..

At step 5 of the update I get these messages

Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/hsphere/local/home/b/myie2info.com/origfaq/install/update.php on line 345

Warning: mysql_query(): A link to the server could not be established in /home/hsphere/local/home/b/myie2info.com/origfaq/install/update.php on line 345
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Andrew,

this is strange. It seems your MySQL server was not availible during the upgrade. Was the file data.php and config.php updated to the new format?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

must have been my fault Thorsten!

I restored all the files back to my test 1.3.9 system
FTPd the new files over again and ran the update
and all was OK :)
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

looking at this more closely...

I now have a 1.4.0 M2 system

but my data.php and config.php files on the server do not seem to be updated!?
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Andrew,

one time, the update works and one time, the update works not? This is strange.... how do the both files look like? Can you delete the entries in data.php and quote it here? Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

Thorsten - I am going to put this down as user error :oops:

I guess I was tired the other day. I removed all my files and dropped my tables.
Then created a fresh 1.3.9 system and restored my backup into it.
Then did the 1.4.0 M2 Update over that and all went well. All files were as they should be.

sorry for this thread :oops:
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Andrew,

that's okay. :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply