Loading...
 
Features / Usability

Features / Usability


"Unable to connect to database" error in 3.3

posts: 11

I upgraded my tikiwiki to 3.3 on november 1.

The next day when I tried to access the site, it threw the error "Unable to connect to database". I changed the mysql password for my hosts and in the db/local.php file and tried again - it worked.

However, every 6 days or so from that time it has given the error while trying to access the site. If I change the passwords like I did above, it works again, only to give the error a few days later.

Is there a condition that is requiring me to change my password every few days, or what is wrong, and how can I solve it?

Thanks.

posts: 31
I just installed a new 5.0RC1 and I get the same problem during installation. I changed passwords, did several reload(flush) privileges to be sure, but nothing happens. I'm quite sure that it isn't a question of passworsd as when tiki-install script runs and I input a wrong password, it refuses to go the the next page and says access denied instead. I tried to import directly wiki.sql, and it created the 223 tables. But when I click on reinstall database button, I get again the same "unable to connect" message. Any ID ?
posts: 153 Canada

When you enter the database host, are you running a site on a VPS our Dedicated SErver? Are you entering localhost?

I don't know if this is related but I did get a very similar issue a few months back and someone suggested to me to try entering 127.0.0.1 instead of localhost and that solved my problem.

I don't know if this has anything to do with your issues but I thought I would share my problem in the hopes that it might be similar to what you are having.

Best of luck


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting