The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 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:
http://www.joomlawebserver.com/freebsd/mysql-server-jail/04.-basic-configuration-of-mysql-server.html

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
/usr/local/etc/rc.d/mysql-server
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  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 mysql and boot up   new
sunsets 27-01-09 06:08 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 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

phorum.org