Question

SQL databse access for registration script?

Hey, I’m trying to run SQL on my server as well as apache to test out my php registration/login script, I have it set up, and can access it, but it won’t write to the database, i suspect this is because it when i go to phpmyadmin I have to login to a javascript popup login box and then login to the actual phpmyadmin page, how can I disable the javascript login box? (in the popup login I have to use the account I setup, but on the actual phpmyadmin login I have to use the root account)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

That sounds fine, you don’t need phpMyAdmin to be able to do that. Google “php login/register tutorial” and you’ll find lots of resources on that :]

I’m trying to connect and write data through a web browser on any computer, so that people can register with one page and it saves it to the database and then they can login with another page that checks if the usernsme/password are on the database and if they are displays a welcome message <br> <br>After doing mysql and webdesign at college for a couple of months I thought it would be nice to try, I’m not trying to make it for a specific use, just for fun really

Are you trying to connect from your computer to MySQL running on your droplet? If so, check out <a href=“https://library.linode.com/databases/mysql/mysql-ssh-tunnel”>https://library.linode.com/databases/mysql/mysql-ssh-tunnel</a>.