If you write MySQL queries, at some point you are going to have
to provide query results in a specific order. To impose any
ordering in MySQL (this applies to SQL overall
and is not directed only at MySQL), you have to use the
ORDER BY
clause. Without it, there is no
guaranteed order. The database is free to send back
query results in any order. As I learn PHP, I make it a point to
explore both the MySQL side, along with the PHP side in
regards to similar type tasks and the efficiency of each. So far
in my PHP journey, I have found that arrays
are used
quite extensively. In this post, I’ll cover
array_multisort()
– one of many in-built
PHP functions – used for sorting arrays. In the context of the
example data for this post, the arrays are populated by an
unordered MySQL query. Let’s see one example of how you
can establish a sorting order in a PHP …
How can I Disable MySQL Audit Log while Server is running?
You can turn off MySQL Enterprise Audit Log without restart of
MySQL , sometimes we wanted to turn off auditing to test some
functionalities in database.
If you wanted to revise about 5 W (what ,why ,where,when,who) about MySQL Enterprise Audit please have a look on my previous blog.
https://mysqlsolutionsarchitect.blogspot.com/2020/05/using-mysql-enterprise-audit-filtering.html
mysql document page:- https://dev.mysql.com/doc/refman/8.0/en/audit-log-installation.html
First Check Whether Audit is running or not?
mysql> SELECT PLUGIN_NAME, PLUGIN_STATUS … |
Join Peter Zaitsev, CEO at Percona, as he discusses database challenges and the concepts of open source and open core. Over the years, open source companies have tried to bring products to market and maximize their revenue streams. To date, the most popular open source business model remains “Open Core”. But is open core software still open source? Or is it a freemium model designed to separate you from your money? Not all companies follow the same processes, ethics, and rules when building and launching open source products. Let’s talk about how the open core bait and switch works for many companies in the open source space.
Join this webinar to learn more about:
– Open Source and Open core distinction
– Free enterprise-class community versions alternatives
– Use-cases that successfully moved away from vendor lock-in
Please join Peter …
[Read more]Do-it-Yourself (DIY), database migration; what other approaches are there to challenges of MySQL availability, reliability, scalability and application performance?
Continuent Tungsten enables greater application availability and performance especially across WAN, it saves tons of manual labor and headache, it’s backed by premium 24/7/365 support, and it enables all sorts of new freedom and possibilities for data infrastructure including multi-cloud, hybrid-cloud, and advanced, real-time analytics.
Tags: MySQL High Availability Disaster Recovery continuous operations
How to Migrate Single MySQL Enterprise Server to Three Node
MySQL Enterprise InnoDB Cluster latest version 8.0.20
?
Assume current you production work loads resembles multiple app
server and all are point to single MySQL Server. have you
thought about below questions ?
1. what if , this database goes down ? this is single point of
failure ? 2. what if, data loss ? 3. Scalability ? 4. Data
Inconsistencies ? 5. DR?
BTW, i am using MySQL Enterprise Edition , more
info:- https://www.mysql.com/products/enterprise/
To address these basic questions on SLA , RPO/RTO , MySQL
has another high availability solutions which is developed by
MySQL Engg team, which has no noisy neighbors all
components are tested by MySQL Engg team.
MySQL InnoDB Cluster= MySQL Server + MySQL Shell + MySQL …
Codership is pleased to announce a new Generally Available (GA) release of the multi-master Galera Cluster for MySQL 5.6 and 5.7, consisting of MySQL-wsrep 5.6.48 (release notes, download) and MySQL-wsrep 5.7.30 (release notes, download) with a new Galera Replication library 3.30 (release notes, download), implementing wsrep API version 25. This release incorporates all changes to MySQL 5.6.48 and 5.7.30 respectively, making it a MySQL High Availability solution.
A highlight of this release is that with MySQL 5.7.30, you will now have access to using the Percona audit log plugin, which will help with monitoring and logging connection and query activity that has been performed on specific servers. This implementation is provided as an alternative to the MySQL Enterprise Audit Log Plugin.
The Galera Replication library 3.30 has an enhancement to ensure that upon GCache recovery, all available space will be reclaimed in the …
[Read more]In most cases, MySQL password instructions provide information on changing MySQL user passwords on the production system (e.g., reset root password without restart). It is even recommended to change passwords regularly for security reasons. But still, sometimes DBA duties on legacy systems offer surprises and you need to recover the original password for some old users.
There is no magic: as long as only hashes are stored and not the original passwords, the only way to recover the lost password is to brute force it from the known hash.
Note on Security and mysql-unsha1 Attack
Interestingly, if a hacker has access to password hash and can sniff mysql traffic, he doesn’t need to recover a plain text password from it. It doesn’t matter how strong the password and how strong the hashing …
[Read more]
FromDual has the pleasure to announce the release of the new
version 1.2.0 of its popular Database Performance Monitor for
MySQL fpmmm
.
The FromDual Performance Monitor for MySQL (fpmmm
)
enables DBAs and System Administrators to monitor and understand
what is going on inside their MySQL database instances and on the
machines where the databases reside.
More detailed information you can find in the fpmmm Installation Guide.
Download
The new FromDual Performance Monitor for MySQL
(fpmmm
) can be downloaded from here or you
can use our FromDual repositories. How to install and use …
FromDual has the pleasure to announce the release of the new
version 1.2.0 of its popular Database Performance Monitor for
MySQL fpmmm
.
The FromDual Performance Monitor for MySQL (fpmmm
)
enables DBAs and System Administrators to monitor and understand
what is going on inside their MySQL database instances and on the
machines where the databases reside.
More detailed information you can find in the fpmmm Installation Guide.
Download
The new FromDual Performance Monitor for MySQL
(fpmmm
) can be downloaded from here or you
can use our FromDual repositories. How to install and use …
MySQL Backup and Disaster Recovery Webinar (Thursday, June 18, 2020 – 06:00 PM to 07:00 PM PDT)
There can be several reasons for a MySQL database outage: hardware failure, power outage, human error, natural disaster etc. We may not be able prevent all the disaster from happening but investing on a robust disaster recovery plan is very important for building fault-tolerant database infrastructure operations on MySQL. Every MySQL DBA is accountable for developing a disaster recovery plan addressing data sensitivity, data loss tolerance and data security. Join Shiv Iyer, Founder and Principal of MinervaDB to lean about the best practices for building highly reliable MySQL DR strategy and operations on Thursday, June 18, 2020 – 06:00 PM to 07:00 PM PDT. Building DR for a high traffic MySQL database infrastructure means deep understanding of multiple backup strategies and choosing optimal ones which are best suited for performance …
[Read more]