i am using tiny core 4.7.7
i have installed mysql.tcz
Code:
~$ java -version
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)
my jar file wants that user root should have password root123 then it can access database gponlct
I even added following script in startup to check if my sql is running then set password
Code:
#!/usr/local/bin/bash
if pgrep mysqld
then
echo mysql running > /home/tc/mysql-log
sudo mysqladmin -u root password root123
echo root password for mysql set to root123 > /home/tc/mysql-log
else
echo mysql-not-running > /home/tc/mysql-log
fi
I got /home/tc/mysql-log with
'mysql running
root password for mysql set to root123'
But password has to be set again in terminal , like before .