Hi Barry,

/usr/bin is in your $PATH, so no need to do those weird gyrations, so

sudo -s mysql_install_db --general-log

should just work. If not, then permissions on pre-existing directories may be the problem?

Steve

On 29/05/15 21:32, Barry wrote:
Hi all could someone please elucidate for me on what is happening when I try to set up mysql.

As root I cd to /usr, then run ./bin/mysql_install_db --general-log. this returns 'Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...' but nothing turns up there!

After many days trying, and searching I found the files in '/home/barry/.local/share/akonadi/db_data/mysql' although in my.cfg the server base directory is set to /usr

This has occurred on both the mageia2 and mageia4 distros. The 3 general-log files are of no use they only contain machine code. As it appears I may have tried this last year I tried renaming the mysql db and rerunning the cmd but no joy.

Can someone help please.

TIA

Barry   _______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to