Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Closed Thread
 
Thread Tools
  #1  
Old 09-21-2009, 08:36 PM
Sergeant
 
Join Date: Feb 2009
Posts: 29
Default Database Error: Unable to connect to the database:Could not connect to MySQL

Hi, I am getting this error when I try to access my website. I can't get to the admin login page. Any ideas??


Database Error: Unable to connect to the database:Could not connect to MySQL

Thanks, Diana
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 09-21-2009, 08:41 PM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,436
Send a message via MSN to Karen Mac
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

not enough info.. what website? how did you install it? what is it?

Karen
__________________

VodaHost

Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom

Click Here to take the royal VodaHost Tour
Click Here for the VodaHost Help Centre & Tutorials
Got a question? - Try a forum search! Available at the top of every page!



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 09-22-2009, 02:27 AM
Alien Dude's Avatar
The Dark Side
 
Join Date: Apr 2008
Location: The Dark Side
Posts: 409
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

Well i take it it's not your Joomla as thats Here admin logoin is showing to so must be something different.
__________________
Angies Cyberscripts
Brought a new highlight pen today and it an't yellow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 09-22-2009, 09:13 AM
Vasili's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Posts: 10,987
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

She's trying to upgrade her Joomla installation after failing to install a patch.
If she deleted files manually, it is possible that upon a new Fantastico install a file remains, or a file is missing after being deleted in error.
__________________
Choice Pro SEO
Choice Pro Webs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 09-22-2009, 10:12 AM
Sergeant
 
Join Date: Feb 2009
Posts: 29
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

Hi,
Karen, the website is Healing-Well.com. I think it happened after the upgrade thru fantastico.
AlienDude, wrong site
Vasilli, I tried installing the patch on a test website and have since deleted it.
Thanks! Diana
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 10-05-2009, 06:25 PM
Sergeant
 
Join Date: Feb 2008
Posts: 21
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

I had the same problem at www.wowtabards.com. I am using Joomla and had failed to update the past 2 patches. I have since updated and still get the same message.

-Database Error: Unable to connect to the database:Could not connect to MySQL

I've gone into MySQL and made sure that the database has the proper users and permissions. I have also repaired the joom1 database that it's associated with and still no luck.

I had tried to install wePrintDesign, which is a T-Shirt design script and that's when I encountered the database issue. The site has been dormant for the summer and is still in it's infancy so there isn't much data in there. Is it possible that I delete the DB's and Users and start out fresh? I am also looking at upgrading my process to using Fantastico instead of manually updating. With Fantastico able to get me to the current version of Joomla, I am not opposed to uninstalling it either.

Thanks in advance.

JJ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 10-05-2009, 09:27 PM
Sergeant
 
Join Date: Feb 2009
Posts: 29
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

I bet uninstalling it then reinstalling it will work. I haven't done that yet but probably will. But I have quite allot of content on mine so am hesitant to do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 10-05-2009, 09:44 PM
Alien Dude's Avatar
The Dark Side
 
Join Date: Apr 2008
Location: The Dark Side
Posts: 409
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

Quote:
Originally Posted by WoWTabards View Post
I had the same problem at www.wowtabards.com. I am using Joomla and had failed to update the past 2 patches. I have since updated and still get the same message.

-Database Error: Unable to connect to the database:Could not connect to MySQL

I've gone into MySQL and made sure that the database has the proper users and permissions. I have also repaired the joom1 database that it's associated with and still no luck.

I had tried to install wePrintDesign, which is a T-Shirt design script and that's when I encountered the database issue. The site has been dormant for the summer and is still in it's infancy so there isn't much data in there. Is it possible that I delete the DB's and Users and start out fresh? I am also looking at upgrading my process to using Fantastico instead of manually updating. With Fantastico able to get me to the current version of Joomla, I am not opposed to uninstalling it either.

Thanks in advance.

JJ
Use your ftp manager or c-panel and check the file configuration.php that it has all the relevant information for the database. this file should be downloaded before any update or file over wright, as it is the main file that connects the site to the database.
__________________
Angies Cyberscripts
Brought a new highlight pen today and it an't yellow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 10-05-2009, 09:50 PM
Alien Dude's Avatar
The Dark Side
 
Join Date: Apr 2008
Location: The Dark Side
Posts: 409
Default Re: Database Error: Unable to connect to the database:Could not connect to MySQL

Quote:
Originally Posted by Diajejo View Post
I bet uninstalling it then reinstalling it will work. I haven't done that yet but probably will. But I have quite allot of content on mine so am hesitant to do it.
If your going to uninstall then reinstall go to your cpanel and export the database to your hard drive then once you have reinstall ( best to download the program from there home site and manualy installing) you can then you can reinstall your old database. if you have added mods to any program then you should install those before you install the database or you may get errors.
__________________
Angies Cyberscripts
Brought a new highlight pen today and it an't yellow.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210