Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Phpmyadmin on Heroku. #2

Closed
Adetona opened this issue Oct 3, 2018 · 9 comments
Closed

Help with Phpmyadmin on Heroku. #2

Adetona opened this issue Oct 3, 2018 · 9 comments

Comments

@Adetona
Copy link

Adetona commented Oct 3, 2018

Hello,

I found out this helpful repo on setting up phpmyadmin on Heroku https://github.com/smsaladi/phpmyadmin_heroku. But am kind of lost on how to set it up on my own Heroku setup.

Do I need to copy your whole setup or there are some steps I have to take to make it work for me?

@smsaladi
Copy link
Owner

smsaladi commented Oct 3, 2018

  • Fork the repo
  • Customize config.inc.php in the root of the repo to correspond to your mysql server (instructions here)
  • Start a new heroku app and point it towards your fork

@smsaladi
Copy link
Owner

smsaladi commented Oct 3, 2018

Take a look here for the sample config:

https://github.com/smsaladi/phpmyadmin_heroku/blob/sample_cleardb/config.inc.php#L17-L36

The environment variables including

  • PHPMYADMIN_BLOWFISH_SECRET
  • MYSQL_HOST
  • MYSQL_USER
  • MYSQL_PASSWORD

are all specified in Heroku under config vars

@smsaladi
Copy link
Owner

smsaladi commented Oct 8, 2018

@Adetona Did this work for you? If so, can you propose a revision to the README file that might help those potentially interested in the future?

@Adetona
Copy link
Author

Adetona commented Oct 8, 2018 via email

@nascimentorafael
Copy link

Hello @smsaladi
I am trying to achieve the same as you have on https://phpmyadmin-heroku.herokuapp.com
However, I'm having some trouble with the config.inc.php.
How do I make to bypass the login?

I'm forking your project, setting the env variables and deploying, but I'm having an issue: Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.

Could you maybe share the file you are using on that Heroku app?

@smsaladi
Copy link
Owner

@nascimentorafael @Adetona Were you able to figure out your issues? Can you help @vbhusan?

#3

@nascimentorafael
Copy link

I was not able to figure the issue out. Please, let me know if any of you could.

@vbhusan
Copy link

vbhusan commented Aug 27, 2019

I was not able to figure the issue out. Please, let me know if any of you could.

I have applied the solution recently for my site on heroku.

@smsaladi
Copy link
Owner

Closing stale issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants