DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-08-31 19:14:44

keokaz
New member
Registered: 2009-08-31
Posts: 4

how install mysql dns 323?? problème mysql.sock not here?

hi all, I am frenche I exapliane no very good, i call help for install mysql in my DNS dlink-323.
I'm connecte to TELNET in  192.168.1.11
I download mysql5.1.28

Code:

wget http://81.216.140.39/dns-323/mysql_and_php/mysql-5.1.28-rc-1.tgz

after i prepare intall mysql

Code:

funpkg -i mysql-5.1.28-rc-1.tgz

and :

Code:

mysql_install_db

this is a screenshoot:

Code:

/mnt/HD_a2 # mysql_install_db
Installing MySQL system tables...
090831  8:10:23 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
OK
Filling help tables...
090831  8:10:24 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
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 dlink-6AC90C 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!

The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/

/mnt/HD_a2 #

after i input this:

Code:

/mnt/HD_a2 # mysqladmin -p version
Enter password: 
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/ffp/var/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/ffp/var/mysql/mysql.sock' exists!
/mnt/HD_a2 #

there are this error "mysql.sock", why??
I go at etc/var/mysql/mysql.sock,  is no here?
how i can find solution?

i follow this tuto, but i think is not complete
http://www.geekmag.fr/transformer-le-dn … -lighttpd/

thanks for help me.

Last edited by keokaz (2009-08-31 19:20:45)

Offline

 

#2 2009-09-01 16:06:39

forre
Member
Registered: 2008-04-22
Posts: 26

Re: how install mysql dns 323?? problème mysql.sock not here?

Have you started the mysql with following command?
/ffp/start/mysqld.sh start

Offline

 

#3 2009-09-01 21:59:52

keokaz
New member
Registered: 2009-08-31
Posts: 4

Re: how install mysql dns 323?? problème mysql.sock not here?

thanks to reply me
yes i do mysqld.sh start, but he say no found start
is this tuto is complete??
http://www.geekmag.fr/transformer-le-dn … -lighttpd/

or i must do this tuto :
http://nas-tweaks.net/CH3SNAS:Tutorials/Mysql

Offline

 

#4 2009-09-02 09:22:42

forre
Member
Registered: 2008-04-22
Posts: 26

Re: how install mysql dns 323?? problème mysql.sock not here?

Can you post the messages you get from when you type
sh /ffp/start/mysqld.sh start

If you want mysql server to survive reboot, change the start script attribute by typing
chmod a+x /ffp/start/mysqld.sh

Offline

 

#5 2009-09-03 22:12:20

keokaz
New member
Registered: 2009-08-31
Posts: 4

Re: how install mysql dns 323?? problème mysql.sock not here?

thanks reply,  i can now connecte mysql, but i have a another problems:

when i want connecte phpMyAmin, I enter user and password, phpmyadmin have a erreur:
PHP can't load  mcrypt,

Code:

PHP ne peut charger l'extension mcrypt, 
veuillez vérifier votre configuration de PHP
Vous devez accepter les "cookies" pour poursuivre.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB