Category "mariadb"

no such file libmariadb.3.dylib error when importing MySQLdb on mac M1

I migrated my data to M1 Monterey MacOS from intel macmini. I was happy to use django and mariadb until I installed a package using homebrew. I installed homebr

MariaDB Exchange partition data

Database : Maria DB 10.6.5 Issue: Data transfer from partitioned table to Non-Partitioned table Table A - partitioned on Date (range partitioned) Table B - Not

MariaDB Exchange partition data

Database : Maria DB 10.6.5 Issue: Data transfer from partitioned table to Non-Partitioned table Table A - partitioned on Date (range partitioned) Table B - Not

What is the mysqld_safe command for Windows-based installations?

I need to run the mysqld_safe command in a MariaDB installation, but I cannot find it inside the \bin folder...

combine results of 2 rows with start on row1 and end on row2

I have this on a MariaDB version 5.5.65 datetimeconnect datetimeend queue agent event 02/05/2022 10:02:31 02/05/2022 10:02:31 "5009" "Mikey Blogs" "ADDME

kubernetes mariadb doesnt startt sql's from /docker-entrypoint-initdb.d

pod logs: 2022-01-04 10:43:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.1+maria~focal started. 2022-01-04 10:43:14+00:00 [Note] [En

MariaDB foreign key auto generated index not created for the first column of PK

i'm facing a question without answer. I can't understand why the auto generated index from the FK creation is not working when the column seems to be the first

It keeps outputing error: Not all parameters were used in the SQL statement

def getLevels(userName, levelID, levelName, levelLength, coins, starStars, amognus): try: statement = "SELECT userName, levelID, levelName, levelLength, coins

Where is C:\xampp\mysql\backup\ equivalent in MySQL on Linux?

I read this post and I wish to fix it the same way as the answers but I can't find the backup folder in my CentOS. Where is C:\xampp\mysql\backup\ located in Li

InnoDB Write Log efficiency is too high more than 100% (1953.15%)?

I have MariaDB on my server with 16/32 CPU cores, Everything seems to be ok when running mysqltuner except InnoDB Write Log efficiency, taking 1953.15%, wonderi

Crafting a Subquery-able UNION ALL based on the results of a query

Data I have a couple of tables like so: CREATE TABLE cycles ( `cycle` varchar(6) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `cycle_type` varchar(140) COLLATE

MariaDB CTE syntax for parameter list

I'm trying to replace an expensive where in ... query with a CTE. I've done this previously in other sql dialects, but can't get the syntax right for MariaDB/My

Avoid incrementing primary key if insert is not successful?

I have a 'locations' table as follows: Using an API, if I send a valid record, the table will start normally with index 1. If I send something that won't be ac

StackOverflowError when connection to aurora using mariadb java client

When connecting to an aurora db using the mariadb java client (version 2.7.5) i am getting this error (I only put the first few lines because the entire stack i

MySQL pagination with limit returns the same values

I'm trying to do pagination, but the SQL query returns the same values on different pages. I show them the queries and the results, and it shows that there are

MariaDB converting datetime string to date

Trying CONVERT() Trying STR_TO_DATE() Trying CAST() - neither DATE or DATETIME work Trying CAST(STR_TO_DATE()) Hi, I cannot figure out what I'm doing wrong with

Order of CAST() and COALESCE() matters in MariaDB

I have a strange problem: There is a price in a JSON column in a table and the following statements give different results while they should give the same thing

Yii1 DB transaction timeout is ignored when selecting for update and the row is locked longer than the timeout

When the DB transaction is timeouted the transaction is still active and seems to only finish executing after PHP transaction timeout If I lock the table outsid

Error when trying to open chamilo using LEMP on Centos7

I have been trying to set up Chamilo using LEMP stack (Linux, Nginx, MariaDB, PHP 7) on CentOS 7 using this link https://www.digitalocean.com/community/tutorial

Error when I adding FULLTEXT INDEX "SQL Error (1062): Duplicate entry '' for key '*UNKNOWN*'"

I have specific error when I'd like to add FULLTEXT INDEX to column street. My code is below. ALTER TABLE offer_private_14 ADD FULLTEXT INDEX idx_street (street