MySQL Port Question
Hello; I'm trying to build MySQL 5.0 (server) on FBSD 6.1 from port. I ran make install clean but now I'm lost. mysqld is not up. What is my username? Never asked me for one in the install. Tried this: # /usr/local/libexec/mysqld -umysql 070109 16:39:30 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. Looks like there's probably more that needs to be done to get an out-of-the-box MySQL port installation working. Please advise. Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MySQL Port Question
- Original Message From: George Vanev [EMAIL PROTECTED] From: Andrew Patyukhin Andrew: /usr/local/etc/rc.d/mysql-server start Worked. MySQL up! Thanks! George: Since MySQL is up, I don't know if the following matters any more, nonetheless... Check if user mysql exists. If it doesn't - create it. Exists # echo 'mysql_enable=YES' /etc/rc.conf ok. #cd /usr/local/mysql #bin/mysql_install_db --user=mysql # cd /usr/local/mysql /usr/local/mysql: No such file or directory. # mkdir -p /usr/local/mysql # cd /usr/local/mysql # bin/mysql_install_db --user=mysql BTW, do I want to use the same user mysql? I'm wondering if that's a user that the installation itself uses. Should I set up another user? # bin/mysql_install_db --user=mysql bin/mysql_install_db: Command not found. # find / -name mysql /usr/bin/mysql /usr/local/bin/mysql /usr/local/include/mysql /usr/local/lib/mysql /usr/local/libdata/ldconfig/mysql /usr/local/share/mysql /usr/local/mysql /var/db/mysql /var/mail/mysql # ls /var/db/mysql/ # TIA, Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clutz-Proof Logging
- Original Message From: Bill Moran [EMAIL PROTECTED] Many shells keep a history as a matter of normal operation. You might find that enough for you. Personally, I use bash, and the command history brings the last 100 commands or so. No, this isn't sufficient. The problems are: 1) occasionally the sysadmin people at the server farm do stuff 2) sometimes I edit files, and of course the shell doesn't record how 3) the shell history seems erratic! It remembers the session clearly, but if I reboot, for example, and look at the history, it's not what I would expect it to be. TIA, Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clutz-Proof Logging
8376- Original Message From: Vizion [EMAIL PROTECTED] I am not certain if you are using X or console. console As far as file editing is concerned if the file is important to you then you might want to try saving a snapshot when you open the file and use a small script to both save the snapshot and do a diff report that stores the differences between the file when you opened it and when you saved it. opened. That way you always have as permanent a record as you wish to keep. What is a snapshot? I could just make a backup copy of it, which is what I was thinking of doing, and revert if necessary. Of course, that supposes I remember to do that :/ I was hoping for some program smarter than me. Thanks, Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Clutz-Proof Logging
- Original Message From: Richard Lynch [EMAIL PROTECTED] Jumping into the middle of a thread, possibly to disastrous effect... Perhaps you should be using subversion or CVS to keep version control of your document? Far as I can tell from what's being said. Hmm. Maybe so. Good suggestion! Thanks, Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Clutz-Proof Logging
747478Hi; I know I'm a clutz but I'm sick and tired of doing some stupid thing that crashes my server, then trying to figure out what I did. Is there something out there that could log everything I did so that I could review it each time I shoot myself in the foot? TIA Stan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]