A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
Hello, I forgot password, what to do? enter the username and password, then prompts you for the password for uin, where to get it,
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
I followed the tutorials here: https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-mysql-load-balancing--3
and successfully create HAproxy for a Master-Master Mysql
However, I am not able to find any correct way to connect a php app to the database through HAProxy
I tried `netstat -tlpn | grep 3306` and got the following result:
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 946/haproxy
however, when trying `mysql -h <IP of HAProxy Droplet> -u root -p`
I could not connect because of incorrect password. My passwords are exactly as the ones in the tutorials and I have tried all of them but it doesn't work.
Any help is really appreciated. Thank you in advanced
What better hostname? You have any rules? What's the difference?
I'm currently running LAMP with gui in VirtualBox. Ive installed phpmyadmin as well. Visiting my IP address and phpmyadmin works in the web browser in the gui in VirtualBox just fine. But i don't really want a gui with LAMP. I only want the terminal. But i want to be able to use phpmyadmin with my host PC. When i try this it dosen't work. Why is that? is there something i can do to solve this?
I want to increate storage to 500GB or 1TB , Can i got it? please help me.