Fresh install mysql doesnt work

456and

Verified User
Joined
Feb 18, 2008
Messages
7
Hello,

This is my first time installing Directadmin on Freebsd6.2. I did a fresh install of Fbsd then did the ./setup.sh with correct information. Install finishes but mysql does not start. Here are the error's:

after starting mysql and it says ok when trying to connect this happends:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

When trying to do mysql_safe:
Starting mysqld daemon with databases from /usr/local/mysql-5.0.22
freebsd6.0-i386/data
STOPPING server from pid file /usr/local/mysql-5.0.22-freebsd6.0-i386/data/gigabit.domain.pid
080219 07:25:46 mysqld ended

Im not sure whats going on. I did what the install said, seems like somethings up and cannot find mysql.sock on the server so i could symlink

Anyone know whats up
 

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
cd /usr/local/directadmin/custombuild
./build update
./build mysql
 

456and

Verified User
Joined
Feb 18, 2008
Messages
7
I dont have /usr/local/directadmin/custombuild under /usr/local/directadmin I have:
conf da-popb4smtp dataskq scripts
customapache data directadmin update.tar.gz
 

456and

Verified User
Joined
Feb 18, 2008
Messages
7
I dont have /usr/local/directadmin/custombuild under /usr/local/directadmin I have:
conf da-popb4smtp dataskq scripts
customapache data directadmin update.tar.gz
Sorry I downloaded the custombuild to my directadmin running commands now
 

456and

Verified User
Joined
Feb 18, 2008
Messages
7
Ok wow Just noticed /tmp didnt have right perms :/
 
Last edited:
Top