Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: pan on May 02, 2016, 01:30:25 PM
-
Hi, when I run mysql, I get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2 "No such file or directory).
-
What versions are you using / trying to use?
-
Start your server.
-
What versions are you using / trying to use?
What versions of what? I'm using Micro Core 3.16.6.
-
Start your server.
How? Httpd's not in /etc/init.d and apachectl doesn't find /usr/local/etc/httpd/httpd.conf.
-
Start the mysqld server. The socket does not exist until the server is up.
Read the info files and config files.
-
Start the mysqld server. The socket does not exist until the server is up.
Read the info files and config files.
Where are they? I went to /usr/local/mysql/bin and did ./mysqld but it fails to create a socket for IPv6 ':::': errno: 97 but it does create one on IP 0.0.0.0. Then it fails to start the server and shuts down.
-
Bump.
-
Hi pan
From the info file:
Start server with command
'sudo /usr/local/mysql/bin/mysqld_safe &'
found here:
http://tinycorelinux.net/6.x/x86/tcz/mariadb.tcz.info
For IP6 support you probably need to install ipv6-3.16.6-tinycore.tcz
-
Hi pan
From the info file:
Start server with command
'sudo /usr/local/mysql/bin/mysqld_safe &'
found here:
http://tinycorelinux.net/6.x/x86/tcz/mariadb.tcz.info
For IP6 support you probably need to install ipv6-3.16.6-tinycore.tcz
Thanks but it gets stuck on starting the daemon when I include the ampersand. Is that supposed to happen? Also what's the difference between using Apache 2 & 2.4 (when I run it with the command in the documentation URL for the package, it can't open conf.modules.d)?
-
It is not stuck. It is detached. Just hit return to re-display the prompt.
Tiny core is not an install and run distro. It is a toolkit for experienced users.
I you don't know basic shell programming and how to read config files, you may be happier with Ubuntu
or some other load and run distro.
Here are some reading suggestions to get you on track:
http://rute.2038bug.com/index.html.gz
http://tinycorelinux.net/book.html