Jump to content

Topic on Project:Support desk/Flow

finding the db being used

3
Paperlessnow (talkcontribs)

Though the special page and version shows following

Product Version
MediaWiki 1.31.1
PHP 7.1.25 (apache2handler)
MariaDB 10.1.37-MariaDB
ICU 57.1

but am not able to find any MariaDB named (fully or partially) file.

and not able to successfully connect to it.


I can see within maintenance dir following directories mssql, oracle, Postgres, sqlite but no file/ folder named MariaDB. where to locate it?

Paperlessnow (talkcontribs)

on console following log is printed:

mariadb_1    | 2019-01-07 20:47:54 140379178088320 [Note] /opt/bitnami/mariadb/sbin/mysqld: ready for connections.

mariadb_1    | Version: '10.1.37-MariaDB'  socket: '/opt/bitnami/mariadb/tmp/mysql.sock'  port: 3306  Source distribution


but when I try

netstat -vanp tcp |grep 3306

doesn't show any process

MarkAHershberger (talkcontribs)

> I can see within maintenance dir following directories mssql, oracle, Postgres, sqlite but no file/ folder named MariaDB. where to locate it?

The files for MariaDB are the mysql files. MySQL is the default DB, so it doesn't have separately-named files. So, look for tables.sql and the like.

To connect to the DB, have you tried

mysql --socket /opt/bitnami/mariadb/tmp/mysql.sock

Is mysql running on the same system or is it running in a container?