View Single Post
  #9   (View Single Post)  
Old 14th July 2008
prakash512 prakash512 is offline
New User
 
Join Date: Jul 2008
Posts: 3
Default

Hi,

I installed mysql package as told above. I executed both these statements.

pkg_add -r mysql50-server mysql50-client

cd /usr/ports/databases/mysql50-server/ && make install

I also find these are installed by giving the command "pkg_info | grep -i mysql"
the output of this command is

mysql-client-5.0.45_1 Multithreaded SQL database (client)
mysql-server-5.0.45_1 Multithreaded SQL database (server)

But when ever I type mysql (as we did in linux) i am not getting access to mysql (as in linux). How can i get this?

When ever i give mysql the output is

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Last edited by prakash512; 14th July 2008 at 06:18 AM.
Reply With Quote