Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I try to install mysql package from ffp 0.7
The install is ok...
fetch: found /ffp/funpkg/cache/s/mysql-5.1.61-oarm-1.txz
/ffp/funpkg/cache/s/mysql-5.1.61-oarm-1.txz: OK
/ffp/bin/funpkg -i /ffp/funpkg/cache/s/mysql-5.1.61-oarm-1.txz
Scanning /ffp/funpkg/cache/s/mysql-5.1.61-oarm-1.txz ...
# mysql - The world's most popular open source database
#
# MySQL is a relational database management system (RDBMS) that runs as a server
# providing multi-user access to a number of databases. It is named after
# developer Michael Widenius' daughter, My. The SQL phrase stands for Structured
# Query Language. (Wikipedia)
#
# Homepage: http://mysql.com/
#
Installing mysql-5.1.61-oarm-1
Searching for *.new files: /ffp/etc /ffp/start
Done.
I install db
root@NAS:/srv# /ffp/bin/mysql_install_db
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/ffp/bin/mysqladmin -u root password 'new-password'
/ffp/bin/mysqladmin -u root -h NAS password 'new-password'
Alternatively you can run:
/ffp/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /ffp ; /ffp/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /ffp/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /ffp/bin/mysqlbug script!
But after... how to start the MySQL server for further configuration... ?
where is the conf file example... ? and the daemon mysqld.sh to start ?
Offline
mati730 wrote:
But after... how to start the MySQL server for further configuration... ?
where is the conf file example... ? and the daemon mysqld.sh to start ?
You can find example config files in /ffp/etc/mysql. The start script was indeed missing. I updated the package. Please try "slacker -Uu s:mysql" to upgrade.
Offline
Ok for the conf file and the start script.
No error when i start but when i want to secure the install i have :
ERROR 2013 (HY000): Lost connection to MySQL server at 'sending authentication information', system error: 32
Offline
mati730 wrote:
Ok for the conf file and the start script.
No error when i start but when i want to secure the install i have :
ERROR 2013 (HY000): Lost connection to MySQL server at 'sending authentication information', system error: 32
I'm getting the same thing. If you hit enter quickly it will work, almost like it times out after 1 second.
Offline
mati730 wrote:
Ok for the conf file and the start script.
No error when i start but when i want to secure the install i have :
ERROR 2013 (HY000): Lost connection to MySQL server at 'sending authentication information', system error: 32
I'm getting same error too.
Offline
I could start the mysql deamon under ffp 0.7 with the following start script. Not as sophisticated as the mysql.server start script, but works...
#!/ffp/bin/sh # PROVIDE: mysqld # REQUIRE: LOGIN . /ffp/etc/ffp.subr name="mysqld" start_cmd="mysqld_start" stop_cmd="mysqld_stop" status_cmd="mysqld_status" TMPDIR=/srv/tmp/mysql/ DATADIR=/mnt/usb/www/mysql/ mysqld_flags="--skip-networking --user=root --tmpdir=$TMPDIR --datadir=$DATADIR" mysqld_start() { mkdir -p $TMPDIR /ffp/bin/mysqld_safe $mysqld_flags </dev/null & } mysqld_stop() { proc_stop mysqld } mysqld_status() { proc_status mysqld } run_rc_command "$1"
Offline