Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update to mysql5 =>php doesnt anymore communicate with mysql
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Mon Feb 27, 2006 6:09 pm    Post subject: update to mysql5 =>php doesnt anymore communicate with my Reply with quote

Hiho @all,

i am currently having a big problem :-( ...

my apache2-server doesnt anymore communicate with my new mysql5 - which i emerged some hours ago. :cry:

mysql5 does function, i tested it with the "mysql"-command - i can get the names of the databases ("mysql","test", etc.). but if i want to connect to php with the mysql_connect("localhost","username","passwd"); command, nothing does function anymore :-( - everytime i want to open a php document with that command in it, i get a 0-byte-file sent back to the browser. nothing in it. no error. but nothing - even the normal html-source has gone ... i really dont know what to do..

do you know where the problem is? do i have to say my php that it has to communicate with mysql5 now? (in a configuration file?) - with mysql4 everything did function.. so it has to function with mysql5 too - hasnt it to?

greetings and a big thanks,
btsht23


PS: im sorry for my bad english :-/
Back to top
View user's profile Send private message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Mon Feb 27, 2006 7:13 pm    Post subject: Reply with quote

okay, everything solved. after a re-emerge of php everything functions again. :-)
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Mon Feb 27, 2006 9:49 pm    Post subject: Reply with quote

In the future, try revdep-rebuild (from gentoolkit) first. It's designed to resolve exactly these problems.
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
btsht23
n00b
n00b


Joined: 25 Aug 2005
Posts: 37

PostPosted: Mon Mar 06, 2006 6:41 pm    Post subject: Reply with quote

thanks, ill try to remember that ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum