Connect PlanetScale to any MySQL client with Connection Strings for a true serverless database experience.
On MySQL Database Service (aka MDS) on Oracle Cloud Infrastructure (aka OCI), when you create a new instance, you also need to set the credentials for the administrator:
Let’s focus on that account…
Please don’t forget the password, it cannot be recovered !!
First of all that account’s username has some limitations. Indeed, some names are reserved as it’s mentioned in the manual. So you could not use the following usernames:
- administrator
- ociadmin
- ocirpl
- mysql.sys
- mysql.session
- mysql.infoschema
This list can evolve, you can get the list directly from the MySQL DB System creation’s screen:
In fact, those accounts are already existing in the MySQL DB …
[Read more]On MySQL Database Service (aka MDS) on Oracle Cloud Infrastructure (aka OCI), when you create a new instance, you also need to set the credentials for the administrator: Let’s focus on that account… Please don’t forget the password, it cannot be recovered !! First of all that account’s username has ...
We recently saw that .frm files have been somewhat of replaced for MyISAM tables in MySQL 8.0 (see this post).
However, what are those files ? Can they be used for something else than MyISAM tables ? … Let’s try to answer those questions and get more familiar with the .sdi files.
What does SDI stand for ?
SDI acronym stands for Serialized Dictionary Information.
As you may know already, MySQL 8.0 replaced the old way to store the metadata of tables, their structure, into the new transactional Data Dictionary (in InnoDB).
Additionally, that information is also part any InnoDB tabespace , its is appended to the tablespace, so the meta data and data are bundled …
[Read more]We recently saw that .frm files have been somewhat of replaced for MyISAM tables in MySQL 8.0 (see this post). However, what are those files ? Can they be used for something else than MyISAM tables ? … Let’s try to answer those questions and get more familiar with the .sdi files. What does SDI stand...
Codership, the developers of Galera Cluster for MySQL, provides training sessions in September 2021 for EMEA and USA timezone.
The Advanced Database Administrator with Galera Cluster training course teaches you how to install and configure in real-time a Galera Cluster for your application use cases. You will participate in interactive hands-on labs. Our expert instructor will teach you how to design and maintain your Galera Cluster for MySQL high availability and scalability. If you are a DBA or been given a Galera Cluster to manage, this is the course for you, as you’ll learn how to run your Galera Cluster in an optimal fashion, from setup, performance tuning, monitoring, as well as backups and more.
For more information, please read the full CONTENT BRAKEDOWN course.
Course Dates
EMEA: …
[Read more]This is the second episode of “Discovering MySQL Database Service“, a series of tutorials where I will show you, step by step, how to use MySQL Database Service and some other Oracle Cloud Infrastructure services.
In the previous episode we've introduced the different components that we will use during this Discovering MySQL Database Service journey.
In this episode, we'll see what is a compartment and how to create one and use it in order to create a MySQL DB system.
The post Discovering MySQL Database Service – Episode 2 – Create a compartment first appeared on dasini.net - Diary of a MySQL expert.
You will learn How to recover/reset a forgotten password using PHP and MySQLi in this post. We’ll show you how to use a Forgot Password form to recover your password if you’ve forgotten your username or email. We’ll send a password recovery email to the user after the form is submitted. There are several accounts […]
The post How To Reset Password by Email Using PHP7 and MySQLi appeared first on Phpflow.com.
On December 2, Edward Screven, Oracle’s chief corporate architect revealed the Oracle MySQL Database Service with Analytics Engine known as HeatWave.
During Oracle Live on August 10th, 9AM PST, 12 noon ET / 1 PM BRT / 6 PM CEST, Edward Screven will share our latest MySQL innovations, along with the latest benchmarks, that show the speed and cost savings gained with MySQL HeatWave.
HeatWave, in-memory query accelerator for the Oracle MySQL Database Service, allows customers to run very fast analytics queries directly against their MySQL databases entirely avoiding the step of data ETL into a …
[Read more]InnoDB is the default storage engine for MySQL and InnoDB prefers that there is a PRIMARY KEY defined when a table is defined. Having a unique non-nullable primary key can vastly speed up queries and data is stored by the primary key in a B+ Tree structure.
What if a primary key is not defined, InnoDB will use the first unique key defined as NOT NULL. Failing that, InnoDB generates a hidden clustered index named GEN_CLUST_INDEX on a synthetic column that contains a 6-byte automatically increasing number when rows are inserted. This is a key that you can not use for searches (it is hidden from you!) and is not directly benefitting you. And that is probably not what you want.
To find those columns you need to look in the INFORMATION_SCHEMA with a query like this:
SELECT i.TABLE_ID,
…