Learn how to build a use MySQL with Symfony by building an expense tracking application using a PlanetScale MySQL database.
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Learn how to build a Rust API using Rocket, Diesel, and a MySQL database hosted on PlanetScale.
Although MySQL 8 was released back in 2018, a significant share of MySQL servers out there are still running MySQL 5.x. MySQL 5 had a lengthy run from its release in 2005, and thus many organizations still have databases that were built on 5.x. But Oracle has been phasing out MySQL 5.7 support for various platforms over the past few years and end of life for MySQL 5.7 is slated for October 2023.
If you’re still running a database on MySQL 5.7, it’s time to seriously consider upgrading. You'll get several new features that give you performance improvements and security enhancements, so it is important that you do this soon — especially with the imminent end-of-life of MySQL 5.7, which means there will be no further security updates. Fortunately, this process is usually pretty straightforward, but there are several changes you may have to make. This article will cover many of the things that you should look out for when …
[Read more]Learn how to build a products listing application with Golang and a MySQL database.
Learn how to build a products listing application with Golang and a MySQL database.
Learn how to build a Nest.js API connect it to a MySQL database add a schema and data and and run database queries.
In this tutorial, we’ll be going over every step of how to install MySQL on AlmaLinux. Database servers are the ...
The post How to Install MySQL on AlmaLinux appeared first on RoseHosting.
SQLAlchemy is a popular Python library that gives you many tools to interact with SQL databases. With SQLAlchemy, you can do things like send raw queries to a database, programmatically construct SQL statements, and even map Python classes to database tables with the object-relational mapper (ORM). SQLAlchemy doesn't force you to use any particular features, so it has the flexibility to support many different approaches to working with databases. You can use SQLAlchemy for one-off scripts, web apps, desktop apps, and more. Anywhere that you'd use a SQL database along with Python, you can use SQLAlchemy.
This tutorial will cover setting up an engine object in Python SQLAlchemy 2.0, which is the first step to using SQLAlchemy. Then, it will cover two specific ways of interacting with a database: with raw SQL statements and by using the object-relational mapper.
Note
…[Read more]Note
PlanetScale now supports PostgreSQL.
Choosing a data store is one of the most important decisions you'll make when building software applications. The good and bad news though, is that there is an abundance of options. Depending on the type of application you're building, you may opt for a relational database like MySQL or Postgres, a non-relational database like MongoDB or CouchDB, a graph database like Neo4j, or one of the many other alternatives that each bring their own benefits and drawbacks.
It is a difficult choice and sometimes you realize that the database you initially went with no longer serves the needs of your application and you have to make the choice to migrate.
In this blog post, we'll take a look at how you can migrate your database schema from PostgreSQL to MySQL. MySQL and PostgreSQL …
[Read more]While MySQL error codes are useful, understanding what they mean can be difficult. This article looks at common MySQL error codes, non-coded errors, and how to fix them.
Each MySQL error includes:
- An error number: A MySQL-specific number corresponding to a particular error.
- An
SQLSTATEvalue: A five-character string that indicates the error condition. - An error message: A textual description of the error.
Here’s an example of what a MySQL error code looks like:
ERROR 1146 (42S02): Table 'test.no_such_table' doesn't exist
In the error above:
…[Read more]