Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

PayPal IPN delays database INSERT [closed]

My IPN Listener gets a response from PayPal and should INSERT the transaction details into my database. However it takes about 2 minutes for this to be actioned by which time my code has moved on and ...
stevea24's user avatar
-1 votes
0 answers
12 views

Typeorm generate new migration with strange behavior (drop existings, and add it)

I'm using nest with typeorm. I'm using mariadb database I have an entity @Entity() export class Store { @PrimaryGeneratedColumn() id: number @Column() name: string @Column({ ...
Xero's user avatar
  • 4,120
0 votes
0 answers
34 views

MariaDB building dynamic JSON_ARRAY conditionally, prevent casting JSON_OBJECT to string and double-quoting

USE CASE: We want to create a JSON_ARRAY containing various JSON_OBJECTS. These objects are added if (and only if) certain conditions are true. If they are false, then that object should not be added ...
Norman's user avatar
  • 1
-1 votes
0 answers
40 views

KNX Bus - Read - Buffer - Write to SQL database. What best practice to perform deferral queue in Async way? [closed]

BackGround Info: For a Home Automation, an KNX installation (running sound and stable), setup a Group Address recorder. Logging values of heating control valve actuators positions, room temperatures, ...
Arjen Groeneveld's user avatar
-1 votes
0 answers
23 views

Docker Django mysql

Here's folder structure: 📄 Dockerfile 📄 .env 📄 requirements.txt 📁 pr/ 📁 static/ 📄 app.js 📄 manage.py 📁 pr/ 📄 wsgi.py 📄 __init__.py 📄 urls.py 📄 settings.py 📄 ...
user2301515's user avatar
  • 5,031
0 votes
1 answer
15 views

R2DBC MariaDB failover in Spring Boot 3

I want to perform a failover setup for r2dbc mariadb. We are using spring boot 3. I have read in some documents that from spring boot 3 it supports these behaviours. I am expecting something like ...
Ramees Puthiya Purayil's user avatar
-1 votes
0 answers
17 views

QueryDSL - Using DB operator in queryDSL

I'm trying to do a query using MariaDB's operator. So My code looks like this: query.where(Expressions.booleanTemplate( "{0} REGEXP {1}", o.name,...
Taylor's user avatar
  • 33
0 votes
0 answers
51 views

MySQL Scheduled event next Execution time

I'm utilizing the MySQL Event Scheduler to run some SQL tasks. I have a task set to repeat and run every 14 days at 01:00, another task that runs every 31 days, and another task that runs every 50 ...
Russell Sulley's user avatar
-4 votes
0 answers
23 views

Linux: Can't install MySQL? [closed]

Read; https://wiki.archlinux.org/title/MariaDB $ sudo mysql mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead ERROR 1045 (28000): Access denied for ...
ash's user avatar
  • 1
0 votes
1 answer
17 views

MariaDB fulltext index tokenization rules / DOC_ID mapping

First question: is there a document that describes the rules how MariaDB builds the fulltext index words (for InnoDB)? I set innodb_ft_min_token_size=1 to include also one letter words in the index. ...
wknauf's user avatar
  • 360
0 votes
1 answer
37 views

SQLAlchemy: to_sql create empty table after inspect

I have strange behavior here. After I init inspect(cn), to_sql writes an empty table to the database. def save_data_to_sql(df, table_name, cn): df.to_sql(con=cn, name='test_1', if_exists='...
Mike's user avatar
  • 328
0 votes
1 answer
41 views

MariaDB running total on weather data (rain fall)

I am receiving rainfall data from my weather station in one minutes intervals e.g: +---------------------+----------+ | tid | regn1min | +---------------------+----------+ | 2024-09-09 ...
Tomas Jensen's user avatar
0 votes
0 answers
55 views

Database design for handling user names with multiple role-specific tables [closed]

CREATE TABLE user ( id BIGINT AUTO_INCREMENT NOT NULL, username VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL, CONSTRAINT pk_user PRIMARY KEY (id) ); ...
dsa14dfS's user avatar
-5 votes
0 answers
37 views

someone help me to this, i have problem when i install mariadb [closed]

so i just have some problem on arch linux where i just wanna to install mariadb for my web development, and i just got errors when i start the mariadb.service, so plz help me enter image description ...
Ryosuke25's user avatar
1 vote
0 answers
34 views

MariaDB and Columnstore

I get a crash on this Select sum(Number) from testdata Message #1815 - Internal error: MCS-2045: At least one PrimProc closed the connection unexpectedly. Total works. Any suggestions? Trying to run a ...
user avatar
0 votes
0 answers
38 views

How insert data in MariaDB using docker and save changes of Database?

I am writing here because I am new in Docker world. In the past, I was using Vagrant in developing stuff. Installing OS + packages that I need was very easy. Now, Vagrant is load more resources than ...
Senior-Moe's user avatar
0 votes
1 answer
31 views

Distinguish connections in MariaDB process list by custom label

I'm using JDBC to create multiple connections to a MariaDB server, and HeidiSQL to manage that database. In the "Processes" list I can see all of the connections: But unless I happen to ...
Niko O's user avatar
  • 428
0 votes
0 answers
25 views

Error : Object cannot be cast from DBNull to other types. in monodevelop

i'm trying to connect my gtk#2.0 app to a database. so theres a button, when the button clicked, it should fetching my database, but then an error appearing.error image. i'm using mariadb Ver 15.1 ...
Fauzy's user avatar
  • 1
0 votes
0 answers
50 views

Is it possible to install MySQL on Linux Mint 22 "Wilma"? [closed]

I am new to Linux. For the past 12-14 hours, I have been trying to install MySQL on Linux Mint 22 Cinnamon Wilma, but nothing seems to work. I was watching a tutorial to install MySQL on Linux through ...
ramank27's user avatar
-1 votes
0 answers
63 views

How to return std::unique_ptr<sql::ResultSet> from a function?

I am currently learning C++ and am still learning and having a deep understanding of pointers and references. I have successfully connected to MariaDB and executed a query. I am currently stuck on how ...
Babbage Worker's user avatar
0 votes
0 answers
12 views

Should I change the "blowfish_secret" of PhpMyAdmin documentation ? and how can I do it?

I just upgraded my PhpMyAdmin to the latest version (5.2.1 currently) and for the new configuration, in order to avoid a warning after the authentication, I need to set on the file /usr/share/...
Alexis boyer's user avatar
0 votes
1 answer
29 views

Configuration of existing Yocto recipes

I am currently looking for the best way to configure existing Yocto recipes for my use case. For example the MySQL server of mariadb - part of the meta-oe layer. I “activate” PACKAGECONFIG variables ...
mocle's user avatar
  • 35
0 votes
0 answers
25 views

MariaDB container fails to start due to volume issue with mysql.sock after switching from MySQL in Docker Compose

I'm currently switching from MySQL to MariaDB in my Docker-based development environment. After switching, my development-db-1 container is failing to start properly due to issues with the volume. I ...
Issa Georges's user avatar
0 votes
1 answer
54 views

Mysql to MariaDB mysql_insertid - LAST_INSERT_ID issue

My host recently switched from mysql to mariadb. Most everything transitioned well except the: $id = $sth->{mysql_insertid}; This is a perl cgi.pm script. My code is: my $dbh = DBI->connect(&...
dude's user avatar
  • 13
0 votes
0 answers
12 views

Migrating mariaDB database to new server and new mariaDB version, and with raw innoDB partitions [migrated]

I have a linux server running mariaDB-5.5; the tables are all (I think) innoDB tables and the data are stored on a raw partition; actually on two raw partitions because some years ago at the last ...
Phil Evans's user avatar
0 votes
0 answers
24 views

API Connection Timeout on Windows 10 with WSL2 and MariaDB

I'm developing on a Windows 10 machine using WSL2, where I've set up my API along with MariaDB and Redis. I also have MariaDB installed on Windows and use DBeaver, installed on Windows, to manage my ...
s1uns's user avatar
  • 1
-1 votes
0 answers
20 views

How to delete data from MariaDB incremental backup? [closed]

I do incremental backups of MariaDB database using tool mariabackup according to steps described on their official website. Assume I have a database company and table employees. I do incremental ...
BS98's user avatar
  • 99
1 vote
0 answers
33 views

cygwin perl access to mysql 8.xx database not working [duplicate]

I have an upgraded install of a WAMP server that is now running MySQL 8.039 instead of MySQL 5.xx that seems to be working as expected for WAMP access. Now, I am trying to give my cygwin perl scripts ...
Les Lewis's user avatar
0 votes
1 answer
42 views

JSON in MariaDb: Removing element in array with specific value

Currently I'm doing first steps with JSON in MariaDB. I have a table "users" with a column "hunde". This column is of type JSON and contains an array of IDs (which are referencing ...
SEMPERVIVUM1412's user avatar
-1 votes
1 answer
29 views

MaxScale with replication couldn't create the monitor - mariadbmon-monitor' with module 'mariadbmon'

I've been trying to deploy the mariadb-operator, mariadb full replication and maxscale. It's all working great but I have 2 problems - which they might be related. When I deploy the below yaml for the ...
Muhammet Arslan's user avatar
0 votes
2 answers
84 views

Insert to mysql table with a column automatically has same value as another column

I has a mysql table with 2 int columns. The first column is auto_increment. Then, I want to insert whether a certain value or the value of the first column to the 2rd column. For example insert into ...
StephenKhoa's user avatar
0 votes
0 answers
32 views

Laravel with Docker: Migration Fails for Second Database with SQLSTATE[HY000] [2002] Connection timed out Error

I'm working on a Laravel project where I need to connect to multiple MariaDB databases using Docker. While I can successfully connect to the first database and run migrations, I'm encountering an ...
Kzaman's user avatar
  • 1
0 votes
0 answers
26 views

AWS RDS MariaDB slow logs empty rows

I enabled the slow query logging on my AWS mariadb RDS as described here. And set up the publishing to Cloudwatch logs. Parameter group family: mariadb10.11 My parameters: log_output = FILE ...
MathiasCodes's user avatar
4 votes
1 answer
82 views

MariaDB, Data::UUID GUID: data too long for column binary(16)

I have a table: CREATE TABLE `sessions` ( id BINARY(16) NOT NULL, PRIMARY KEY(id) ) ENGINE=InnoDB; I created a value to insert into the id field: $sql = 'INSERT INTO sessions (id) VALUES(?)'; my $...
user4035's user avatar
  • 23.4k
-1 votes
3 answers
56 views

mariadb how to split string by delimiter into result set in a stored function

I'm trying to create a split function that I can call in my stored procedures, I know there is a function SUBSTRING_INDEX, I'm trying to return either a temporary table or a JSON array and failing. ...
SPlatten's user avatar
  • 5,670
0 votes
1 answer
25 views

Sequential row update, skipping rows that have a value

I need to update a table with sequential numbering, but skipping numbers that are already in use. The table has 3 (important) columns: id, name and order, where order is the display order of the ...
Michel's user avatar
  • 4,137
0 votes
1 answer
82 views

JavaScript in MariaDB function?

I've read today that MySQL can have JavaScript in a stored procedure, I've tried the following in MariaDB: CREATE FUNCTION `eventEngine` (bitEID BIGINT) RETURNS BIGINT LANGUAGE JAVASCRIPT AS $$ ...
SPlatten's user avatar
  • 5,670
-4 votes
0 answers
25 views

Upgraded version of MariaDB still dumps older version [migrated]

I upgraded from MariaDB 10.x to 11.x. mariadb -V is showing the updated version. I exported the database (which was retained during upgrade) via MySQL/MariaDB-dump and got the infamous sandbox error. ...
Tony's user avatar
  • 23
0 votes
0 answers
17 views

Not able to connect to db within the db container to take backup

I wanted to take a manual backup of the db but using the verbose flag I have discovered that I am not able to connect to the db running within the container, root@5ebcf2a3efd4:~# mysqldump -uroot -...
Ciasto piekarz's user avatar
-3 votes
1 answer
85 views

How to insert new row Mariadb perl [closed]

My host moved to MariaDB from mySQL. This is a Perl CGI.pm script. If I use use DBI; and use DBD::MariaDB;, most everything translates well to the new database. But when I try to insert a new row it ...
dude's user avatar
  • 13
0 votes
2 answers
73 views

How to read more specific configurations in two dimensions which only have been overwritten partially

I am trying to read configuration entries from a database which has a base "project" and a base "machine" defined by the ID 0. The base configuration (key + value) can be ...
seuk's user avatar
  • 21
0 votes
1 answer
78 views

Mariadb C API client returns "Connection timeout" / "Connection reset by peer" if CA SSL is provided

I'm writing a C++ client application connecting to a MariaDB server with a MariaDB C connector. This code works: this->mysql = mysql_init(0); int timeout_sec = 10; int ret = mysql_options(this->...
ocirocir's user avatar
  • 3,908
-1 votes
1 answer
54 views

Is the Python Mariadb connector module capable of using prepared statements?

I'm confused about this. By "prepared statement", I mean an object which is delivered by going something like prep_stmt = cursor.prepared_statement("INSERT INTO my_table (field1, field2)...
mike rodent's user avatar
  • 15.2k
0 votes
0 answers
27 views

NextCloud failed to find MariaDB

I am following the site (https://www.makeuseof.com/raspberry-pi-install-nextcloud-openmediavault-nas/) to setup Nextcloud on OMV. Everything looks fine until the last step that is to create admin user ...
Raymond's user avatar
  • 65
0 votes
0 answers
21 views

how can we auto insert tables from sql file to mariadb container started by docker-compose?

I have Docker compose file as shown below: and DB_NAME is db_table services: devcontainer: build: context: . dockerfile: Dockerfile.dev volumes: - ../.. :/code:cached ...
Ciasto piekarz's user avatar
-3 votes
0 answers
28 views

pentaho, maria db connection

i got this error message when attempting to connect maria db to pentaho to test for connection; error connecting to database [PENTAHO] : org.pentaho.di.core.exception.KettleDatabaseException: Error ...
Leeroy Ofunja's user avatar
0 votes
2 answers
71 views

check number row is equal to 10 with same value

I would like to check number of row is equal 10 with same value. I insert the value like that INSERT test (value) SELECT 'AAA' AS value FROM seq_1_to_10; and i want to check the number of value is ...
locklockm777's user avatar
1 vote
0 answers
51 views

Logging the mariadb command and its output next to each other

Is it possible to log the mariadb command and its output next to each other, when the commands are source from a .sql file, just like bash -x: $ printf 'echo abc\necho def\necho done!\n' | tee /tmp/...
xpt's user avatar
  • 22.5k
0 votes
0 answers
23 views

Migrating MariaDB 10.4.24 from server to my local computer has different sizes and rows

So I use MariaDB as my database and I'm using HeidiSQL as my GUI. I tried to migrate the database from the server to my local computer so I can safely work my API using the database from my local ...
Exto Logia's user avatar
0 votes
0 answers
31 views

ERROR 2006 (HY000): MySQL server has gone away (Declare variables within MySQL interactive session) [duplicate]

Following on How to declare a variable in MySQL? Say I initialize variables using SET or SELECT statement within MySQL interactive session: SET @start = 1, @finish = 10; or SELECT @start := 1, @...
xpt's user avatar
  • 22.5k

1
2 3 4 5
292