Results 1 to 2 of 2

Thread: Custom MariaDB datadir on Kali 2023.1

  1. #1
    Join Date
    2023-Mar
    Posts
    1

    Custom MariaDB datadir on Kali 2023.1

    Hi guys,
    I've recently upgraded to Kali 2023.1
    After the upgrade, I'm having big troubles with MariaDB using a custom datadir.
    Using the default datadir (/var/lib/mysql) all is fine. When I try to set a custom datadir the server is not starting.
    I've configured apparmor to allow the access to my datadir - indeed it was the same configuration previously in place, and it was working fine.
    Just to be sure that the problem is not with corrupted data, I've tried to move my datadir in the default location, and it works fine - on the first start the data structure is upgraded as it normally happens when upgrading mariadb.
    Any ideas?

    Thanks

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772
    your new MariaDB needs its config file set up to point to your new directory structure..

Similar Threads

  1. Cant get RDP working Kali 2023.2
    By keithc1971 in forum Kali Linux TroubleShooting
    Replies: 1
    Last Post: 2024-01-09, 21:07
  2. Nexus 7 , installing metapackage hangs on mariadb and forces reboot
    By jesuschristyall in forum NetHunter General Questions
    Replies: 0
    Last Post: 2021-05-11, 14:07
  3. Replies: 2
    Last Post: 2020-04-29, 11:05
  4. Replies: 0
    Last Post: 2020-02-13, 20:49
  5. Replies: 0
    Last Post: 2015-02-20, 14:35

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •