Questions tagged [mysql-8.0]
MySQL version 8.0 - please also tag with mysql for search purposes.
725 questions
0
votes
0
answers
54
views
MySQL comparing a string to int returns a wrong result when string is numbers seperated by -
Apologies if this is a duplicate question but I was unable to find the correct result but that could be down to the phrasing of my question but here goes.
I have a table with BIGINT primary keys. I ...
0
votes
0
answers
41
views
Are constraints(foreign key)errors being logged on the server side (MySQL 8.0.39)?
Are constraints (specifically: foreign key) errors being logged on the server side (MySQL 8.0.39)?
The question arose because there was a migration problem and the number of errors exploded on the ...
0
votes
1
answer
46
views
View or not to View
My experience is in Firebird v1 to 3. So, I am apprehensive about using views.
I am using MySQL 8.x on a Windows server.
The server side is a REST server on IIS.
The client is a WebApp running in the ...
0
votes
0
answers
46
views
Table is freeze, not able to do any change in Innodb table in MySQL
I am using MySQL 8.0. I have a sales table with only 30,000 rows. I had a problem where the table was frozen and I couldn't alter the values in any of the columns. I attempted to duplicate the data ...
-1
votes
1
answer
64
views
Can the NKTg Law analogy help in modeling database performance under variable data loads?
I recently came across the NKTg Law on Varying Inertia in physics, which describes an object’s movement tendency based on its position (x), velocity (v), and mass (m), with m allowed to change over ...
0
votes
1
answer
50
views
AWS Aurora MySQL table archive running slow for one table
I'm working on archiving a bunch of tables in an environment where archiving was never done, with some data going back 10 years. I've written a script to perform the work, which loops through the ...
0
votes
0
answers
46
views
How can I optimize this query for large datasets, especially when filtering by hundreds of device IDs? [duplicate]
Actually, here the issue is not with like operator. For each deviceid. I have 30 lack records like that I'm sending 100 device IDs. so, this is causing issue for slowness, and it is well indexed. can ...
1
vote
1
answer
90
views
Editing in MySQL Views
In the project I am working on, there is a Booking table.
There are 8 types of Bookings.
I have elected to have just one table
There are 12 common fields
If I store the rest of the fields as columns,...
2
votes
0
answers
35
views
Usage of JSON in mySQL [duplicate]
In the project I am working on, there is a Booking table.
There are 8 types of Bookings.
I have elected to have just one table
There are 12 common fields
I could store the rest of the fields as ...
0
votes
1
answer
108
views
How to run MySql and MariaDB on same server
Background
I am using XAMPP, which has MariaDB on my Windows development machine. I cant remove this as I have a number of projects that depend and use this.
On my new project on AWS EC2, Windows ...
1
vote
2
answers
158
views
Can't update mysql users authentication plugin in Google Cloud SQL because root does not have SYSTEM_USER permission
I'm working on upgrading my Google Cloud SQL mysql instance from 8.0 to 8.4. I just upgraded it from 5.7 to 8.0 and now I'm trying to convert my user authentication plugins for my existing users from ...
3
votes
2
answers
230
views
MariaDB 10.5 Migration Questions
I have a question, and I've found one similar addressed, which I was going to respond to with my own questions (Live database migration MariaDB 10.5 to MySQL 8.0), however, as that post/question is ...
1
vote
1
answer
68
views
working of index in join query
My question is regarding the Explain output. Please refer the below query and its Explain command output
Explain
update
test.table1 t1
join test.table2 t2
on t1.field1=t2.field1
and t1.field2=t2....
1
vote
0
answers
62
views
Cloud SQL: gcloud sql export sql does not include procedures/triggers — alternatives?
How to export stored procedures and triggers from Cloud SQL without hitting production?
I'm using Google Cloud SQL (MySQL) and want to automate a nightly/weekly clone of the production database into ...
1
vote
2
answers
88
views
Unexpected occasional DEADLOCK when re-recreating database from split MySQL dump
To replace the content of a test database from a production database mysqldump output the following command was used:
cat mysqldump-db-thisdate.sql | mysql -p ... mydb
There has never been any issue ...