Question

Path to Database - Very specific Issue

  • Posted on August 17, 2014
  • Sm64ds2Asked by Sm64ds2

The Cliche statement: I’m new.

Basically, I’m migrating from an “easy” host (Where they so all the magic and you enjoy). I really like this system much better because you have a better understanding of what goes on behind the scenes.

Now here’s where the issue is - I’m not exactly sure where my database even is. By that I mean, the URL/Location that the database can be accessed from for querying.

Before, it was located at mysql.{sitename}.com. There, I could link to the database for querying AND access PHPMyAdmin via my browser.

Now, I’ve installed PHPMyAdmin here, which can be accessed via {ip-address}/phpmyadmin

The question: What do I need to do in order to access my database AND PHPMyAdmin from mysql.{sitename}.com? I’m aware of how rewrite rules work and such, but again, the environment I worked in previously shielded you from the technical stuff.

At the time I’m still waiting for my previous host to cope withthe fact that my URL no longer points towards their servers, so I’ll have to stick the IP until then.


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.

localhost for any applications on your server (like WordPress).

In phpMyadmin when you create your users, you set where that user has permission to access the database from. So the user you create for your WordPress site will be set for localhost

You might create other users that can access the database from other places, like if you needed ODBC connections on your computer at home, you would put your home IP for that user.