The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

As an Amazon Associate I earn from qualifying purchases.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 mysql and boot up
Author: sunsets 
Date:   27-01-09 06:08

Hello Everyone
I am trying to work with my freebsd system, and was trying to let mysql-front access to the database on my system.
Well I went and done it... NOT! Boy have I messed things up!
I did what they said at this website:

This is what I did
Allowing mysql access:
copied /usr/local/share/mysql/my-medium.cnf to /var/db/mysql/my.cnf
removed the comment from skip-networking

mysql startup script
commented out --defaults-extra-file=${mysql_dbdir}/my.cnf from the MySQL server startup script

This is the results when booting default.
Warning: Found /var/db/mysql/my.cnf
datadir is deprecated, move to /usr/local

Starting mysqld daemon with databases from /var/db/mysql

It looks like it is stuck on the monitor on the actual server. I can't putty in anymore from my other computer BUT, apparently it is working fine to anyone else who looks at a website I have set up.

I need to change everything back to the way it was. How can I access the files again.
I tried going in as a single user, but when I go into the server and try to find the path, I see /var and /usr but there is no files there for me to continue on that path and how the heck do I edit them, because using pico and vi don't exist in usermode.
Please help.

Reply To This Message
 Re: mysql and boot up
Author: ookooma 
Date:   27-02-15 09:19

thanks for sharig

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum