mariadb Questions

6

Solved

I am trying to setup sequelize as ORM for my MariaDB. Here is my setup: var sequelize = require('sequelize'); var db= new sequelize('dbname', 'user', 'pass', { dialect: 'mariadb' }); When I r...
Grande asked 4/3, 2016 at 13:10

4

This has already been asked, but none of the answers have helped me. This is my configuration. Im running docker-compose with two services, a web app in django and the database in mariadb. I can co...
Audiophile asked 24/10, 2019 at 18:21

4

We encounter an error when we go from 2.7.2 to 3.0.4 MariaDB JDBC driver with setFetchSize(Integer.MIN_VALUE) java.sql.SQLSyntaxErrorException: (conn=27489500) invalid fetch size So we switch to ...
Delgadillo asked 16/6, 2022 at 16:5

3

When I try to connect to a server using MariaDB 11's mariadb/mysql cli commands, I get the error "ERROR 2026 (HY000): TLS/SSL error: SSL is required, but the server does not support it" w...
Chatterbox asked 27/6 at 11:36

7

I have a simple table CREATE TABLE test ( col INT, data TEXT, KEY (col) ); and a simple transaction START TRANSACTION; SELECT * FROM test WHERE col = 4 FOR UPDATE; -- If no results, genera...
Ladonnalady asked 2/3, 2017 at 5:38

3

I'm trying to set up a DB for user registration and in want to have a column with the registration date in it, which should be the current time by default. I tried running this query: CREATE TABLE...
Amalamalbena asked 29/11, 2016 at 11:36

4

Solved

I am building an Alpine based image of a Django application with MariaDB and I can't figure out which dependency I should add to my Dockerfile so that my app could properly connect to the DB. dja...
Grayback asked 8/5, 2019 at 20:32

2

Solved

A recent Docker update seems to have caused (just some) InnoDB tables in a MariaDB to not be accessible. I get: #1932 - Table 'dbname.SomeTableName' doesn't exist in engine when trying to access ...
Assibilate asked 1/3, 2018 at 2:25

5

in phpMyAdmin I can see all databases and tables. But when clicking on any table I get the error Error #1932 - Table 'mytablename' doesn't exist in engine I tried a lot of solution advises found on...
Chronological asked 8/4, 2022 at 23:8

4

Solved

I am trying to deploy a mariadb image on openshift origin. I am using mariadb:10.2.12 in my docker file. It works ok on local but I get following error when I try to deploy on openshift origin. ...
Acnode asked 17/1, 2018 at 16:57

4

Solved

I have a problem with a new MariaDB 10.5.8 install. STRICT_TRANS_TABLES is set, and when I try to use $sql of: 'INSERT INTO test (flag) VALUES (?)' (where flag is defined as tinyint(1)) with var_d...
Illuse asked 17/11, 2020 at 11:33

1

Solved

As part of our introduction to computer security course, we have a short unit on SQL injections. One of the homework assignments is a basic unsanitized login page. The expected solution is somethin...
Lap asked 5/5 at 5:37

7

I'm trying to make a MySQL database on my Raspberry Pi 4, but it isn't going very well, using localhost instead works perfectly but I want to remote control it from my Windows 10 computer on ...
Jerry asked 12/10, 2020 at 14:49

5

I tried to install phpMyAdmin on Ubuntu 16.04LTS, for MariaDB and Apache. The problem is that during the setup process, it asks me about 'root' name, but not for root's password, and I end up with ...
Monongahela asked 27/2, 2017 at 16:19

2

Solved

I've just installed mariadb on Ubuntu mysql Ver 15.1 Distrib 10.0.31-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 I can connect to the DB using PHP through a local webserver and ca...
Rammer asked 6/1, 2018 at 0:39

2

Solved

As far as I know, DDEV provides configuration options for phpMyAdmin to comfortably work with containered MySQL/MariaDB databases. But I would rather like to use a different tool like e.g. phpStorm...
Costa asked 9/7, 2021 at 17:38

4

Solved

I have tried query but there is an error. Does anybody solved the error? MariaDB [mysql]> UPDATE user SET Host='%' WHERE User='root'; ERROR 1356 (HY000): View 'mysql.user' references invalid t...
Ruralize asked 15/11, 2020 at 4:24

5

Solved

What is the reason that the following two queries give wildly different results? MariaDB [mydatabase]> SELECT COUNT(DISTINCT(`price`)) FROM `products`; --Good +--------------------------+ | COU...
Blather asked 1/4, 2015 at 23:5

5

Solved

How can i mysqldump from running container on https://hub.docker.com/_/mariadb/ ? I cant find any useful documentation or data? Any method for backup and restore database. This is my my contina...
Ceasefire asked 16/9, 2015 at 14:0

1

I'm currently testing Maxscale with a Galera Cluster of 3 nodes in Read/Write Split mode. By default, Maxscale defines one node as a master and the other as slaves (my configuration says 100% of th...
Nicaragua asked 29/10, 2015 at 13:49

3

Solved

I've just stumbled on a very weird behaviour: Imagine we have a table customers: MariaDB [connections]> describe customers; +--------------+-------------+------+-----+---------+---------------...
Gonick asked 17/9, 2013 at 11:5

2

Solved

If you try to connect with PHP PDO to the newest Version of mariadb (11.3.2) you will see this error and the client will be unable to connect: SQLSTATE[HY000] [2054] Server sent charset (0) unknown...
Indistinctive asked 21/2 at 19:40

7

Solved

I have simple connectionstring to MySql (MariaDB 5.5.5-10.11.0) written in c#: MySqlConnection Database = new MySqlConnection("Server=127.0.0.1; Port=3306; Database=test; Uid=user; Pwd=MyPassw...
Exerciser asked 13/10, 2022 at 18:32

5

I have this column: names John, Mary Joseph Eleanor, Sophia, Dani And I want this output: names John Mary Joseph Eleanor Sophia Dani And it should include the SUBSTRING_INDEX function
Odlo asked 20/10, 2020 at 22:13

2

Solved

I've always been able to dump my remote database using mariadb-dump from the CLI. Starting today, I suddenly got the following error mysqldump: Couldn't execute 'select column_name, extra, g...
Iona asked 7/3, 2023 at 12:39

© 2022 - 2024 — McMap. All rights reserved.