Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing mysql on freebsd 5.3

Status
Not open for further replies.

pablobsd

Technical User
Nov 12, 2002
20
0
0
CA
could not find mysql in ports .. how do i download nad install on freebsd 5.3
 
i was not abel to get it install on freebsd 5.3
I installed Freebsd 6.0 fine .. mysql50-server installed fine but when i try to start mysql getting the following error message " ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
 
Has the MySQL daemon been started? In a Linux shell, you would start it with the command "mysqld &".
 
tried msqld_safe got the following message
"Starting mysqld daemon with databases from /var/db/mysql
STOPPING server from pid file /var/db/mysql/my.website.com.pid
060103 15:20:47 mysqld ended
 
when i try mysqld &
get this message " mysqld: Command not found.

[1] Exit 1 mysqld"
 
have you try search mysql under /usr/ports? The best way is to install it through port.

cd /usr/ports
make search name=mysql | more

IF you install it from ports, you have nice little script to start it under /usr/local/etc/rc.d. In order to start it you need to put an entry in /etc/rc.conf file.

regards,
dbase77
 
thanks a lot for the response ... it seems there was issue with my permision .. chown -R mysql and chnage psw that work
just try to setup to work with apache2 now but get some error there
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top