D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Databases again

 

On Fri, 23 Jun 2006 23:45:29 +0100
Neil Stone <neil@xxxxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > 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

 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
> 
> iD8DBQFEnG8Jz3Av8JKgzxQRAjTWAJ409dA/c7j2g8OlRNvDAbua51VBwACcD4JN
> xrPTxtZgFcQFMT5vBX3D4PE=
> =0vs+
> -----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

-- 
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