I was wondering how you are supposed to use server-side languages like MYSQL & PHP. PLZ reply, logabe
We have a proof of concept project here that you can remix which will let you explore using PHP and MySQL on Glitch: https://glitch.com/edit/#!/lamp-poc
Both are not officially supported, but should work enough to see if it meets your needs.
I know this says “proof of concept”, but when you remix the project you posted above it doesn’t work. Apparently the script files linked are hiding when remixing the project. Any help would be appreciated.
try to make a simple edit to
glitch.json, like adding a new line at the end, and it will start working. It is a small bug that you just found Thanks!
Oh, weird! It works now. I edited the php file before and it did not work.
Any clue as to how to connect to the database?
$ service mysql status mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' *
from the Console:
mysql -u app -p