Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

I ran into an issue where MariaDB in XAMPP refused to start and showed this error: Table '.\mysql\proxies_priv' is marked as crashed and last (automatic?) repair failed Fatal error: Can't open and ...
Emanuel Bariki's user avatar
1 vote
1 answer
77 views

DELIMITER // CREATE FUNCTION total_cost_for_customer ( custNumber INT ) RETURNS INT DETERMINISTIC READS SQL DATA BEGIN DECLARE total INT; SELECT SUM(unitPrice) INTO total FROM ...
Sam's user avatar
  • 37
2 votes
0 answers
98 views

First of all, Qt version is 6.10.0, testing on Arch Linux rolling. I think I've found a bug in Qt but maybe it's just my fault. My program asks MariaDB database for some data and displays it in ...
Drobot Viktor's user avatar
Advice
0 votes
2 replies
37 views

I would like to store data remotely in a MariaDB (Xampp) running on Ubuntu. It is running on a totally isolated LAN - no external connection. I have been looking at various places, but seem to be more ...
user31945397's user avatar
1 vote
2 answers
75 views

Situation I have two tables. ing_master is a master list of ingredients; pdet is a product table, with an ingredients field formatted as json array. For each product's ingredient list in pdet, I want ...
Kade's user avatar
  • 13
3 votes
1 answer
101 views

I'm trying to help a user in another stackoverflow question and have bumped by head into a strange behaviour. As I rarely use MariaDB, I'm opening another question to investigate the behaviour, ...
MatBailie's user avatar
  • 87.5k
1 vote
4 answers
214 views

I am using MariaDB v10.11.15 (a MySQL fork) which does not support the LATERAL keyword, to lookup the countries of 30 IPv4 numbers. I have the following query that retrieves the country when given an ...
George Robinson's user avatar
Advice
0 votes
6 replies
96 views

MariaDB version is 10.4.34. The query looks like: SELECT bet.* FROM Bet bet WHERE bet.placed >= '2025-10-29T00:00:00' AND bet.placed <= '2025-10-29T23:59:59' AND EXISTS ( SELECT 1 FROM ...
catch32's user avatar
  • 18.8k
1 vote
2 answers
34 views

I'm getting a number of these errors printed in the systemd journal when i restart mariadb: Nov 07 17:56:05 p2 /etc/mysql/debian-start[8427]: -------------- Nov 07 17:56:05 p2 /etc/mysql/debian-start[...
racitup's user avatar
  • 474
1 vote
0 answers
56 views

I’m running an application on JBoss 7 connected to a MariaDB database hosted on a separate AWS EC2 instance (c5.9xlarge). The SQL query execution itself is extremely fast (around 57ms), but when ...
TinGinard's user avatar
  • 387
3 votes
5 answers
171 views

I have four tables, one primary and three dependents, let's call them A, B, C and D. All tables have the column ID, with ID being the primary key for A and the foreign key for B-D. B-D also have a ...
Refugnic Eternium's user avatar
2 votes
1 answer
70 views

I have a MariaDB cluster made with Galera and my clients use MaxScale with RW router. I'm having an issue because the application has something this sequential steps: Start trx1 Insert new record ...
Tobia's user avatar
  • 9,605
0 votes
0 answers
93 views

The Laravel project on production continues to show the error below intermittently: SQLSTATE[HY000] [1130] Host 'localhost' is not allowed to connect to this MariaDB server (Connection: mysql, SQL: ...
Harrison O's user avatar
  • 1,220
0 votes
0 answers
50 views

we have a Galera (wsrep_provider_version 4.23) cluster over 3 MariaDB 11.8.3 nodes. Our application has a number of migration scripts (about 50) that run on startup, via Flyway. At some point in the ...
André Risnes's user avatar
-4 votes
1 answer
97 views

I have this insert query for my MariaDB 10.6.19 database: CREATE TABLE manufacturers ( manufacturers_id int(11) NOT NULL AUTO_INCREMENT key, manufacturers_name varchar(32) unique NOT NULL, ...
Giancarlo's user avatar
  • 433
4 votes
2 answers
672 views

How do I correctly deal with 1020 errors within a transaction in MariaDB? I recently encounter 1020 "Record has changed since last read in table" errors on code that run without this error ...
Benedikt's user avatar
  • 332
1 vote
1 answer
78 views

Attempting to optimize a portion of a query that is joining two related tables, and getting odd results compared to other queries in the project with similar structures. Here is a very simplified ...
jdfr228's user avatar
  • 11
0 votes
0 answers
69 views

TL;DR Host: Windows 10 + Idea, Docker Desktop. Container: mariadb:latest. In-Docker connection (docker exec -it mariadb-container ... working). Host connection returns: [28000][1045] (conn=13) Access ...
Engin's user avatar
  • 99
1 vote
1 answer
113 views

We have a simple quickfix app that translates FIX messages into our own internal format and vice versa. It consists of two threads, one of which is the FIX::Application and FIX::MessageCracker, and ...
Semo's user avatar
  • 129
0 votes
1 answer
61 views

I've already written a web application with Laravel, but I'm not nearly as experienced yet. Therefore, I need to ask for help. Platform: Laravel 12 Starter Kit LiveWire, PHP 8.2.12 Database: mariadb ...
tomtom's user avatar
  • 1
1 vote
0 answers
55 views

I am new to Docker. I am trying to run PrestaShop 1.7.7.2 using Docker Compose on my ARM Mac. The stack includes MariaDB, PrestaShop, and phpMyAdmin. Instead when I access the localhost on the web I ...
user31321909's user avatar
1 vote
2 answers
162 views

I am trying to write some sql code to embed in Qt to find out when it last rained. Table CREATE TABLE `weather_data` ( `time` bigint(20) NOT NULL, `temp_1` float DEFAULT NULL, `humid_1` float ...
Stuart's user avatar
  • 51
0 votes
2 answers
178 views

I have a MariaDB table like this: CREATE TABLE metric_value ( id int(10) unsigned NOT NULL AUTO_INCREMENT, metric_id int(10) unsigned DEFAULT NULL, value decimal(17,2) unsigned NOT NULL, ...
planetp's user avatar
  • 16.6k
1 vote
0 answers
119 views

I'm trying to configure a MariaDB ODBC DSN automatically in PowerShell my code so far is this: $DriverName = (Get-OdbcDriver -Name "MariaDB*" | Where-Object Platform -eq "64-bit")....
gee3107's user avatar
  • 362
0 votes
1 answer
263 views

I am having a database in MariaDB with Latin1 character set and collation connection as Latin1_general_ci. Now I want to change it to utf8mb and utf8mb_general_ci. And my database is of 650GB. So, ...
Soumya's user avatar
  • 1
0 votes
1 answer
71 views

I have written a python program to parse mysql binlog. In the Query Event, there is a Q_CHARSET_CODE which indicate what character set is used for the logged query. This indicated that the logged ...
Gerald Me's user avatar
  • 127
4 votes
2 answers
166 views

I have a legacy Drupal 7 site that is used strictly internally. It's replacement is under active development, but in the meantime it is using Aurora2, MySQL 5.7 compatible and is in very expensive ...
greendemiurge's user avatar
0 votes
2 answers
160 views

I have a select with a large joined table. On local, performance is fine, but on my server it takes much longer. Below are the version infos (I just upgraded to MariaDB 11.4 on the server). If I do an ...
Philipp M's user avatar
  • 3,556
0 votes
2 answers
223 views

I have a couple of databases running under mariadb on a Synology NAS, which are being updated and read without problems using the standard mariadb connector across my local network by Python scripts ...
user1921922's user avatar
0 votes
1 answer
346 views

I am learning Symfony and trying to create a simple API. I have defined two Doctrine entities, GameGenre and Game. Here are their codes: This is my GameGenre Entity: <?php namespace App\Entity; ...
Nihad Namatli's user avatar
0 votes
1 answer
69 views

I'm trying to create a script that contains a procedure and then call that procedure. I've done this at work where we use Oracle, but no matter what I try with mariadb, I get an error. So I copied ...
Lynda's user avatar
  • 1
0 votes
1 answer
146 views

I am trying to parse an enormous JSON stream in Javascript using Node.js, which is then stored in mariadb. As part of that, I have a table that will have a small number of rows (~50), but each row ...
Ari Roth's user avatar
  • 5,582
0 votes
1 answer
115 views

I'm trying to connect to my local database on godot, and the _connect_to_dv_srvr() function does not return any errors. But once I try to create a connection instance, it returns null! var db_general: ...
user30892961's user avatar
2 votes
3 answers
126 views

I have main query: SELECT mt.media_id, mt.title, SUM(DISTINCT sht.share) as share_count FROM $grouped_media_table mt LEFT JOIN $share_table sht ON sht.media_id = mt.media_id AND sht.title = mt....
Toniq's user avatar
  • 5,158
1 vote
1 answer
72 views

I have a table that has store names, product codes and prices. I need to pull the minimum price of a product and display a list of the product codes with their minimum price, where it all falls down ...
Jason Ronne's user avatar
0 votes
1 answer
105 views

I have a sensor_status table that logs the status of hundreds of sensors every 45 minutes CREATE TABLE sensor_status ( status_id INT AUTO_INCREMENT PRIMARY KEY, sensor_id INT NOT NULL, status ...
raryar's user avatar
  • 9
3 votes
1 answer
109 views

I'm using boost::mysql and boost:asio to access a MariaDB database. I'm prototyping a project/task management system. A task has a number of dates associated with it. When attempting to insert a task ...
pacmaninbw's user avatar
5 votes
0 answers
208 views

I'm trying to build a minimal Api for access to a local MariaDB database and my tech is .NET 9, EF, MySql.EntityFrameworkCore, Migrations (Code First) and MariaDB (XAMPP). When I try to update ...
Ariel Poblete's user avatar
3 votes
1 answer
86 views

I have some system_versioned tables. After upgrading to version 11.8.2, I no longer get results when querying without explicit AS OF-syntax. SELECT m.* FROM mydb.mytable m doesn't get any ...
LukasKroess's user avatar
0 votes
1 answer
58 views

In Mariadb and Galera cluster, we have 3 nodes. I update a field from 99 to 100 through node 1. If I retrieve the same field through node 2, will I get 99 instead of 100 ? Because the field is used ...
Sam's user avatar
  • 1
0 votes
1 answer
114 views

I have 3 nodes in the galera cluster. When I get the next value from a sequence, it has gaps between the numbers. e.g. 1,4,7... I would like to write a function to get a sequence number from a table ...
Sam's user avatar
  • 1
1 vote
1 answer
95 views

I have a MariaDB running inside a Docker container. There is a table inside a database, that has a column of type TIMESTAMP. I am connecting to the database through my TypeScript application, using ...
lia-ail's user avatar
  • 93
0 votes
1 answer
91 views

I have a Django project running locally, with its database as MariaDB 10.6 running in a Docker container. The Django tests work fine, but when I try to run them with a --parallel flag I get an error &...
Phil Gyford's user avatar
  • 15.2k
0 votes
0 answers
48 views

I'm using a multi-node Galera Cluster and encountered the following two scenarios: Case 1 — Certification Conflict (Deadlock) occurs: Node B and Node C both start transactions. Both try to update the ...
samsamsamsmasma's user avatar
0 votes
1 answer
40 views

I have a MariaDB database storing records containing JSON documents, and I need to write several queries against the contents of these documents. Say our table is simply named table and it has two ...
Fawfulcopter's user avatar
0 votes
1 answer
98 views

This is my Docker Compose for MariaDB: mariadb: container_name: mariadb image: mariadb:latest environment: - MYSQL_DATABASE=homeassistant - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} ...
Jiheffe's user avatar
0 votes
0 answers
102 views

I have the latest C Connector - libmariadb.dll v 3.4.5 - getting the following error when attempting a connection using DBI - install_driver(MariaDB) failed: Can't find 'boot_DBD__MariaDB' symbol in C:...
Derek Logie's user avatar
-4 votes
2 answers
205 views

I am using MariaDB and Grafana to keep track of weekly consumption totals, but Grafana does not recognize this date format "DATE_FORMAT(`Timestamp`, '%Y-%u') AS Week" as a time field. The ...
Centaro's user avatar
  • 79
-1 votes
1 answer
68 views

I have a problem when the server is down and when it is finished processing, the old data in the database is time-shifted. column information: created_at - timestamp i use Laravel 11 + mariadb, php8....
cannv's user avatar
  • 27
0 votes
1 answer
47 views

I am trying to make a database with the structure: model Game { id Int @id @default(autoincrement()) createdAt DateTime @default(now()) lobbyName String authorId ...
Dev's user avatar
  • 1

1
2 3 4 5
293