![]() |
|
|||||||
| FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Im trying to install mysql on freebsd 6.2 for the first time ...
Installed mysql4-server from the ports, Created the directory /usr/local/mysql/data and chmod 777 the data folder Then added into rc.conf: mysql_enable="YES" mysql_dbdir="/usr/local/mysql/data" I'm trying to access mysql using "mysql -u root -p" and keep getting the error: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Getting a bit fustrated here, not having much luck googling it - any tips to get this working ??? Cheers, Dave. |
|
|||
|
Nevermind, I figured out what I was missing!
![]() "mysql_install_db --user=mysql" Cheers, Dave. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Xorg installation | LordZ | OpenBSD Installation and Upgrading | 10 | 23rd November 2008 04:52 PM |
| D-BUS error in new installation | zelut | FreeBSD General | 1 | 3rd October 2008 07:26 PM |
| freebsd 7 64 bit installation | ijk | FreeBSD Installation and Upgrading | 9 | 1st September 2008 03:16 AM |
| widescreen woes | jbhappy | FreeBSD General | 8 | 25th June 2008 08:25 PM |
| mysql using >100% cpu | bdj | FreeBSD General | 5 | 16th May 2008 04:20 PM |