Hi all,
I've just installed mariadb.tcz & mariadb-client.tcz. However, I'm not sure to start the service on TCL.
tc@box:~$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2 "No such file or directory")
tc@box:~$
According to the info, I should be able to start the service by "sudo /usr/local/mysql/bin/mysqld_safe &"
tc@box:~$ tce
tce-ab - Tiny Core Extension: Application Browser
S)earch P)rovides K)eywords or Q)uit:
Enter starting chars of desired extension, e.g. abi: maria
Title: mariadb.tcz
Description: An enhanced, drop-in replacement for MySQL
Version: 10.0.17
Author: MariaDB Foundation
Original-site: https://mariadb.org
Copying-policy: GPL V2, LGPL v2.1
Size: 33.3M
Extension_by: bmarkus
Tags: LIBRARY CLI SERVER SQL MYSQL MARIADB
Comments: Binaries only
----
Start server with command
'sudo /usr/local/mysql/bin/mysqld_safe &'
Database is /usr/local/mysql/data
Backup or use persistent storage
----
Compiled for Core 6.0
Change-log: 2014/11/27 First version, to 10.0.15
Current: 2015/04/06 Updated to 10.0.17
~
tc@box:~$ mysql -V
mysql Ver 15.1 Distrib 10.0.17-MariaDB, for Linux (i686) using readline 5.1
tc@box:~$
tc@box:~$ df -h | grep -iE 'sql|maria'
/dev/loop9 3.6M 3.6M 0 100% /tmp/tcloop/postgresql-9.5.1
/dev/loop14 1.8M 1.8M 0 100% /tmp/tcloop/mariadb-client
tc@box:~$
However, the command not found and there is no such directory "usr/local/mysql/" in my TCL. Please advise.
tc@box:~$ sudo /usr/local/mysql/bin/mysqld_safe &
tc@box:~$ sudo: /usr/local/mysql/bin/mysqld_safe: command not found
[1]+ Done(1) sudo /usr/local/mysql/bin/mysqld_safe
tc@box:~$ cd /usr/local/
tc@box:/usr/local$ l
total 0
drwxr-xr-x 2 root root 1.7K Feb 20 2010 bin/
drwxr-xr-x 6 root root 180 Feb 21 2010 etc/
drwxr-xr-x 6 root root 1.6K Oct 2 2015 lib/
drwxr-xr-x 2 root root 100 Apr 10 2016 libexec/
drwxr-xr-x 2 root root 60 Apr 10 2016 sbin/
drwxr-xr-x 11 root root 240 Oct 2 2015 share/
drwxrwxr-x 2 root staff 360 Feb 20 2010 tce.installed/
drwxr-xr-x 3 root root 60 Apr 4 16:03 var/
tc@box:/usr/local$