MySQL Connection: Building Bridges to Data Dreams The first step to reading or inserting data is to establish a connection to your server/database. It’s a fairly straightforward process and it’s something that doesn’t change. The steps are always the same. Once you connect to it once, you’ll be able to reuse the code each time. The only thing that you’ll need to modify is your server, username, password, and database name. Creating a Database I’m assuming that you’re following along with the series. We have a Docker container and that container has the traditional LAMP setup (Linux, Apache, MySQL, and
Tag: PHP MySQL
MySQL is a popular open-source database system You get to a certain point in most programming languages and you ask yourself, “how do I save data?” I looked whether to tackle sessions and cookies next, but realized that it would make more sense to tackle data-persistence first before moving into those topics. What is MySQL? It is an Oracle distributed database system that runs on a server. It uses SQL syntax and is paired with PHP to the point that it’s not common to learn one without the other. If you’re new to programming, and have been following along this
