How to fix horde DB connect failed error with cpanel

The easiest way to see whats wrong is see if horde is able to connect to mysql

cat /usr/local/cpanel/base/horde/config/conf.php | grep conf | grep sql

This should show what horde is using for mysql user and pass

Then run

mysql -h <host if remote> or localhost -u horde -p<password>

If you get an error of some kind, then you need log into mysql and run the following below

GRANT ALL ON *.* TO ‘horde’@’whatever host the error said or use localhost’ identified by ‘whatever password it said above’;

Example
GRANT ALL ON *.* TO ‘horde’@’localhost’ identified by ‘password’;

Next run

Mysql> flush privileges; <–at the mysql prompt

test your mysql connect again with the first step if it works try in a browser, it should work now.

Cheers

Nick Tailor

8 Comments to How to fix horde DB connect failed error with cpanel

  1. Have you ever thought of adding extra movies to your weblog posts to keep the readers more entertained? I imply I just read by way of the entire article of yours and it was quite good but since Im extra of a visible learner,I found that to be more helpful well let me know the way it seems! I really like what you guys are at all times up too. Such intelligent work and reporting! Sustain the good works guys Ive added you guys to my blogroll. This is a great article thanks for sharing this informative information.. I will go to your weblog regularly for some latest post. Anyway, in my language, there will not be much good supply like this.

  2. I intended to compose you that tiny observation to be able to give many thanks again for your personal superb strategies you’ve featured in this case. It has been certainly incredibly open-handed of you to make publicly what a number of people could have offered as an electronic book to help make some cash on their own, specifically given that you could possibly have done it if you ever decided. These guidelines additionally acted to become a great way to fully grasp other people have the identical dream just like mine to figure out very much more in terms of this matter. I am certain there are several more pleasurable periods ahead for many who look into your blog post.

  3. I have to express some thanks to you just for rescuing me from this dilemma. As a result of surfing through the world-wide-web and finding notions which were not beneficial, I figured my entire life was gone. Existing minus the strategies to the problems you have solved all through your entire article is a critical case, as well as the ones that could have in a negative way affected my career if I hadn’t discovered your web blog. Your actual capability and kindness in playing with the whole lot was tremendous. I’m not sure what I would’ve done if I hadn’t discovered such a stuff like this. I can at this time look forward to my future. Thank you very much for your impressive and amazing help. I will not be reluctant to refer the sites to anyone who requires direction about this area.

  4. I together with my pals were found to be going through the good points located on your web page and at once got a horrible feeling I had not expressed respect to the blog owner for those secrets. Those boys happened to be for that reason joyful to read them and already have surely been using them. Many thanks for being simply helpful and also for selecting these kinds of fabulous things millions of individuals are really desirous to learn about. My very own honest regret for not expressing appreciation to sooner.

  5. I definitely wanted to send a brief word in order to thank you for those nice instructions you are sharing here. My extensive internet research has at the end been honored with pleasant content to exchange with my partners. I would believe that we readers are undoubtedly fortunate to be in a useful place with very many wonderful individuals with valuable tactics. I feel quite happy to have discovered your entire webpage and look forward to really more brilliant times reading here. Thanks once more for a lot of things.

  6. I simply wanted to thank you so much once again. I’m not certain what I would have accomplished without the entire secrets provided by you about such a situation. It was before the depressing circumstance in my position, however , coming across the very professional manner you solved that forced me to leap with joy. Now i’m happier for the assistance and even sincerely hope you know what an amazing job that you are putting in educating some other people all through your webblog. I know that you’ve never met all of us.

Leave a Reply to admin Cancel reply

Your email address will not be published. Required fields are marked *

0