[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Neil Winchurst wrote: > On Fri, 23 Jun 2006 23:45:29 +0100 > Neil Stone <neil@xxxxxxxxxxxxxxx> wrote: > >>>> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! >>>> To do so, start the server, then issue the following commands: >>>> /usr/bin/mysqladmin -u root password 'new-password' >>>> /usr/bin/mysqladmin -u root -h localhost password 'new-password' >>>> See the manual for more instructions. >>>> > . > . > . >>>> The latest information about MySQL is available on the web at >>>> http://www.mysql.com >>>> Support MySQL by buying support/licenses at https://order.mysql.com >>>> >>>> [1]+ Done /usr/share/mysql/mysql.server start >>>> [root@localhost /]# >>>> > Did you then set the root user password ? > > once thats done, it should fire up ok, and you be able to use MySQL > > Neil Stone > >> I tried, both as root and as normal user. It still comes back with the >> error message about being unable to connect to the socket. > >> [root@localhost neil]# /usr/share/mysql/mysql.server start & >> Starting MySQL Server [[1] >> 6190 [root@localhost neil]# OK ] >> [root@localhost neil]# ps aux | grep mysql >> [1]+ Done /usr/share/mysql/mysql.server start >> [root@localhost neil]# /usr/bin/mysqladmin -u root password pyworthy >> /usr/bin/mysqladmin: connect to server at 'localhost' failed >> error: 'Can't connect to local MySQL server through socket >> '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that >> the socket: '/var/lib/mysql/mysql.sock' exists! [root@localhost neil]# > >> So I am still stuck > >> Neil Winchurst ok, try this; *************** cp /usr/share/mysql/mysql.server /etc/init.d/ /etc/init.d/mysql.server start (nb: no & on command) ps ax | grep mysql *************** Does it run ? Can you then connect ? what do you get out of; *************** netstat -alnp | grep mysql *************** Neil Stone Systems Administrator FlashTek UK - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+ o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G e h--- r+++ y++++(**) - -----END GEEK CODE BLOCK----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEnYQBz3Av8JKgzxQRAka2AKCO3U5BaxUebzczm1KnYqq9Ibx5sACfU4X5 Br1+tpADoxXABW8Cas97O1Q= =+gji -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html