Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EHCP "Add user and DB" no option ALL PRIVILEGES ?
#1
HI !

In EHCP When I try to build MYSQL db and USER this user doesn't have all privileges (by default) and I don't find any place to change this ?

Example: I click on EHCP autoinstall script for WORDPRESS that build automatic SQL DB and user too but when I try to setup my wordpress or change anythings = error, please be sure you have access to DB...

ANYBODY CAN HELP ME PLEASE Smile !

Thanks in advance!

nicK

my setup:
DIGITALOCEAN VPS
UBUNTU 12.04
EHCP (latest version)


Restored from old drupal forum, for user uid:27257 username:nickthevoice
You may reset your password to access your new account here.
Reply
#2
I checked the code again now, mysql db addition happens with "all privileges"
Where do you add mysql user, which url ? give me that and I will check it again.

The cause of your problem may be another place.
Make sure you add a db&user while you install wordpress, in ehcp gui.
check user privileges in mysql console too. what you see there ?

In short: this situation should not occur, ehcp adds with all privileges. check your situation again.

Restored from old drupal forum, for user uid:27257 username:nickthevoice
You may reset your password to access your new account here.
Reply
#3
Hi again !

Okay finally it's maybe a wordpress trouble but this is the error what I have when I try to ADD NEW PLUGIN in my wordpress.

*****************************************************************
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
**************************************************************

thanks in advance Smile

nicK

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
Finally it's a bug in AUTOINSTALL SCRIPT of EHCP because when I do that step it's work well :

* ADD DOMAIN
* ADD MYSQL DB & USER
* DOWNLOAD WORDPRESS LATEST VERSION
* UPLOAD TO YOUR DOMAIN BY FTP
* CHANGE SETUP IN wp-config.php

after that all work well without any error !

it's WEIRD ! Smile

nicK


Restored from old drupal forum, for user uid:27257 username:nickthevoice
You may reset your password to access your new account here.
Reply
#5
Weird, but this was the only way before ehcp. Now ehcp automated this, mostly.

I will check wordpress install script.
You can also do this yourself. script installation commands are in "scripts" table.

the wordpress download path may need update too, in scripts table.

Restored from old drupal forum, for user uid:27257 username:nickthevoice
You may reset your password to access your new account here.
Reply
#6
What changes do you do in wp-config.php ?
tell in brief please ?

By the way, what if there were a command in ehcp, that does all you said:
Add domain&db, install wordpress, configure wp-config all at once ?
this does not exist now, I ask only.. (I put this in my todo list.. )

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping