[ale] setting up WP sandbox on Ubuntu...

Chris Farris chris at vitalpowers.com
Sun Aug 27 10:42:26 EDT 2006



Step wrote:

> 
> So it looks to me like I might have already had a mysqld (daemon?) 
> running?  So do I shut the old one down?  Or how do I fix the socket error?

as root:

for a in `ps -ax | grep mysql | grep -v grep | awk '{print $1}'` ; do
kill -9 $a
done

or try 'killall -9 mysql" but the top one will make sure to get all the 
procs.

chris

> 
> On 8/26/06, *Brian D. Pitts* <bpitts at learnlink.emory.edu 
> <mailto:bpitts at learnlink.emory.edu>> wrote:
> 
>     *Atlanta Linux Enthusiasts < ale at ale.org <mailto:ale at ale.org>> on
>     Sat Aug 26 2006 at 20:16 -0500 wrote:
>     *Right now when I try "sudo mysql -u root -p" (I only know what half
>     of that means), I get "sudo: mysql: command not found".  How do I go
>     about troubleshooting that?  I(t's sad, but I don't even know where
>     to start now - I'm afraid too much googling has left me very
>     confused......)
> 
> 
>     I would make sure that both the packages mysql-client and
>     mysql-server are installed; try installing them again with sudo
>     apt-get install mysql-server mysql client. If you didn't remove
>     XAMPP, a copy of the mysql client may be installed somewhere outside
>     your path; you could try to locate it with the command locate -r
>     mysql$.
>     Sudo lets you run a command with root privileges. mysql is the
>     command you're trying to run, it lets you interact with your mysql
>     server. -u root specifies that you want to connect to the database
>     as the mysql root user. -p means you want to be prompted for the
>     mysql root user's password.
> 
>     -Brian
> 
>     _______________________________________________
>     Ale mailing list
>     Ale at ale.org <mailto:Ale at ale.org>
>     http://www.ale.org/mailman/listinfo/ale
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

-- 
Chris Farris				chris at vitalpowers dot com
The Exercise of Vital Powers		404 806 1403
http://www.vitalpowers.com



More information about the Ale mailing list