Hi,
I need to use mysql in my project, but idk what username and password to use. Can you help me?
Can you link the project so I can try some few basic ones.
I believe it is gomix
And username?
Not sure. gomix
again i guess?
And what host to use? (I tried localhost and nope)
I’ve never really tried Glitch’s lamp server but if it is a true lamp sever, it should have a phpyadmin page,
I guess it got taken down or something. Because all it shows is this “The number of the day is 5!”
Another odd thing is the 404 page shows the website is on port 3000 while in reality it is on port 80.
Web traffic connects to Glitch project’s via the standard ports (80 for HTTP
and 443 for HTTPS
) however the reverse proxy sends traffic to a specific port for the project in the container, this is commonly port 3000. So that 404 error is correct, the project is running at it’s container’s localhost:3000
.
You can access the port your project is running at via the PORT
environment variable.
Sorry this doesn’t help with the mySQL issue, I just thought this was interesting when I learned about it and decided to share.
Username: root
Password: Don’t type anything in
What’s root’s password? Glitch still asks me what it is.
Just Press enter{more text}
I think it should work.
Hey @anon69241012 — getting mysql started can be a bit tricky — there’s a topic here that dives into it a little bit.
It might also be helpful to remix lamp-poc and build from that — it’s got a .mysql
directory you can explore to see how to get things working.
Let us know if that works for you!
@angelo Thanks. I’m trying a tutorial https://www.elated.com/cms-in-an-afternoon-php-mysql/ and I’d like to build a CMS, Wordpress never worked for me.