Jump to content

Database connection error.


V_Romero

Recommended Posts

Hi All

 

I am getting the below error when trying to access the admin site, I have tried with the php - my sql module and it is there, so far i am clue less.

Any help??

 

Thanks, 

 

Database connection error.

A fatal error occurred Revive Adserver can't connect to the database. Because of this it isn't possible to use the administrator interface. The delivery of banners might also be affected. Possible reasons for the problem are: <ul> <li>The database server isn't functioning at the moment</li> <li>The location of the database server has changed</li> <li>The username or password used to contact the database server are not correct</li> <li>PHP has not loaded the MySQL Extension</li> </ul>

Link to comment
Share on other sites

HI Erik.

 

Thanks for your answer, I actually find out that the config file has a wrong names  to access the data base, and when I change them the admin log on screen appears but now it says that the user/pass is wrong, first the database name here is different to the database name, I have no idea how this got changed, second the username is not correct either, I tried change it and no luck. any ideas???

 

 

[database]
type=mysql
host=localhost
socket="/var/lib/mysql/mysql.sock"
port=3306
username=hrmweb
password=***********
name=hrmweb_adserver
persistent=
mysql4_compatibility=1
protocol=tcp
compress=
ssl=
capath=
ca=

Thanks, 

Link to comment
Share on other sites

yes I know, I ending figured out that the password was changed, the only thing that happened is that the company which I had the hosting did a migration to another server, but they claim not touched anything which make sense, anyway I am taking all necessary precautions now, I upgraded to a newer version and it went fine, the only thing is that I lost all my campaigns, I can see how the old database still active but I have not being able to copy it and pull the data.

 

Thanks, 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...