Wordpress can't connect to mysql?
|
2012-04-13, 00:59
(This post was last modified: 2012-04-13 01:10 by mogey5101.)
Post: #1
|
|||||||
|
|||||||
Wordpress can't connect to mysql?
I recently upgraded to Mysql 5.5 and PHP 5.4, however I also reinstalled mysql and cleared out my database, I did import the database for the forums and WP from an sql file. http://mrkdgaming.com/site/ - the wordpress site gives this error "Error establishing a database connection".
The forums can connect fine though, http://mrkdgaming.com/forum/ Even a small test script can connect fine, http://mrkdgaming.com/test.php. I do have username, and database information entered correctly. Any help? One other thing to note, MySQLi and MySQL extensions are both enabled in the PHP.ini |
|||||||
2012-04-14, 03:49
Post: #2
|
|||||||
|
|||||||
RE: Wordpress can't connect to mysql?
Sorry for the bump, this problem is unresolved, however I think I know whats wrong. PHP 5.4 nor MySQLi are supported by wordpress, not allowing it to work.
|
|||||||
2012-04-14, 06:32
Post: #3
|
|||||||
|
|||||||
RE: Wordpress can't connect to mysql?
Well, check the wp-config.php. Wordpress might use a dedicated user to access the database which you did not copy over. Users are not part of the wordpress-database, they are all stored once per server. Hence, you might have have forgotten to copy them over.
|
|||||||
|
|||||||
2012-04-16, 01:06
Post: #4
|
|||||||
|
|||||||
RE: Wordpress can't connect to mysql?
(2012-04-14 06:32)Chuck Wrote: Well, check the wp-config.php. Wordpress might use a dedicated user to access the database which you did not copy over. Users are not part of the wordpress-database, they are all stored once per server. Hence, you might have have forgotten to copy them over. As in a mysql user? If so, I changed the wp-config to use root for testing to get everything working. However it still would not work. Mysql connections are fine and allow simultaneous connections. Was talking to a friend of mine and he said that wordpress is very deprecated but still strives. I can't find a page with requirements and I'm not sure if it supports PHP 5.4 or MySQL 5.5. |
|||||||
2012-04-16, 06:31
(This post was last modified: 2012-04-16 13:33 by Chuck.)
Post: #5
|
|||||||
|
|||||||
RE: Wordpress can't connect to mysql?
(2012-04-16 01:06)mogey5101 Wrote: As in a mysql user? If so, I changed the wp-config to use root for testing to get everything working. However it still would not work.How so? (2012-04-16 01:06)mogey5101 Wrote: Mysql connections are fine and allow simultaneous connections. Was talking to a friend of mine and he said that wordpress is very deprecated but still strives. I can't find a page with requirements and I'm not sure if it supports PHP 5.4 or MySQL 5.5. That's just blatantly wrong. Wordpress is one of the (if not *the*) mostly used software for Blogs and similar things, and is constantly being developed. Don't blame it if you just forgot to create a user Also: http://wordpress.org/about/requirements/ |
|||||||
|
|||||||
2012-05-03, 22:50
Post: #6
|
|||||||
|
|||||||
RE: Wordpress can't connect to mysql?
Late reply, not sure what was wrong with my past install. Reinstall WP and its working fine now. Glad I didn't have to switch over to something else. Thanks!
|
|||||||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
cannot connect banned status is unbaned | astraxan | 5 | 1,619 |
2022-10-21 21:10 Last Post: astraxan |
|
Cant connect | Ricardo Alvelos | 1 | 1,511 |
2021-04-17 14:03 Last Post: Misterviin |
|
Unable to connect | kon4a | 2 | 1,852 |
2020-12-18 22:51 Last Post: kon4a |
|
cannot connect. | RCFDcody | 3 | 3,176 |
2018-07-25 09:42 Last Post: Shino |
|
Master Server can't connect | DJ Maffo | 8 | 6,669 |
2016-03-23 20:38 Last Post: DJ Maffo |
|
Connect timed out?? | license to drive | 6 | 4,303 |
2015-10-10 08:09 Last Post: BP |
|
Server literally invisible, even via direct connect | TheMootyhaka | 18 | 11,212 |
2013-11-28 22:52 Last Post: Barney |
|
Connect timed out | Byran | 11 | 7,245 |
2013-09-30 15:46 Last Post: Pipa |
|
can´t connect to master server | G B | 3 | 3,037 |
2013-05-07 11:30 Last Post: Elmo |
User(s) browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group