about MySQL
Hi, After i follow you taught me that step it display. = couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/adstudio-4.5.2_1 andt try again. *** Error code 1 Stop in /usr/ports/databases/adstudio. *** Error code 1 how should i do? maybe you have taught me step by step how to install cus i never use UNIX system before, so much command i have no idea. regards, by Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL
On 21/03/07, Frank [EMAIL PROTECTED] wrote: Hi, After i follow you taught me that step it display. = couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/adstudio-4.5.2_1 andt try again. *** Error code 1 Stop in /usr/ports/databases/adstudio. *** Error code 1 how should i do? maybe you have taught me step by step how to install cus i never use UNIX system before, so much command i have no idea. regards, Do what it says. The port can't be fetched automatically, probably due to licensing issues. A few lines above the lines you pasted should be a link to the location of the file, or at least an URL to the main website. Follow it, download adstudio-4.5.2_1 and copy/move it to /usr/ports/distfiles. The last step has to be done as root. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL
Christan, Frank ( or are you Andreas? ) On 3/21/07, Christian Walther [EMAIL PROTECTED] wrote: On 21/03/07, Frank [EMAIL PROTECTED] wrote: Hi, After i follow you taught me that step it display. = couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/adstudio-4.5.2_1 andt try again. *** Error code 1 Stop in /usr/ports/databases/adstudio. *** Error code 1 how should i do? maybe you have taught me step by step how to install cus i never use UNIX system before, so much command i have no idea. regards, Do what it says. The port can't be fetched automatically, probably due to licensing issues. A few lines above the lines you pasted should be a link to the location of the file, or at least an URL to the main website. Follow it, download adstudio-4.5.2_1 and copy/move it to /usr/ports/distfiles. The last step has to be done as root while this is true, Frank alias Andreas tries to build mysql, but has issued make in /usr/ports/databases instead of issueing make in /usr/ports/databases/mysql51-server. regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about MySQL
hi this is Frank, after i finish MySQL. how should i know it's work or not? then how should i install php and apache? last question is how you learned FreeBSD? regards, by Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL
Frank, The majority of your questions has nothing to do with FreeBSD. Please submit your questions to the appropriate mailing lists for those projects (Apache, MySQL, PHP, etc.). As for how one goes about learning FreeBSD, there are dozens of books, manuals, documentations, how-to's available. Use Google to start searching and start reading. The more homework you do, the easier the challenge would be for you. SC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL
On Wednesday March 21, 2007 at 09:27:06 (AM) Frank wrote: hi this is Frank, after i finish MySQL. how should i know it's work or not? then how should i install php and apache? last question is how you learned FreeBSD? Add the following to your '/etc/rc.conf' file: mysql_enable=YES Then either reboot the system, or enter (as root): /usr/local/etc/rc.d/mysql-server start You will know momentarily if it work or not. You really should read up on MySQL. You will probably need to assign users and passwords, etc. Use the ports system to install both Apache and PHP. Install Apache first. That will allow PHP to enter its information into the httpd.conf file automatically. You can start learning FreeBSD by read the material available here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Just my 2ยข. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL
On Wed, Mar 21, 2007 at 09:27:06PM +0800, Frank wrote: hi this is Frank, after i finish MySQL. how should i know it's work or not? then how should i install php and apache? last question is how you learned FreeBSD? For Apache, for example, you install it from ports. cd /usr/ports/www/apache22 make clean make make install make distclean Then configure it. You'll have to check Apache documentation for configuration info. One learns FreeBSD by a combination of reading the handbook, man pages and other publications and by doing. They tend work best if they take place in parallel. Other sources are FAQs, Google, various online publications and the Email lists such as this one. jerry regards, by Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
about MySQL install
hi, i have questions about install MySQL in FreeBSD 6.0, after type # make it would be display like bottom. make all-recursive Making all in . Making all in include make all-am Making all in Docs Making all in cmd-line-utils Making all in libedit Making all in sql-common Making all in pstack Making all in aout Making all in strings Making all in mysys Making all in dbug /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lc_r -lcrypt -lm -lc_r gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lcrypt -lm ../mysys/libmysys.a(my_thr_init.o) (.text+0x5f): In function 'my_thread_global_end': :undefined reference to 'pthread_cond_timedwait' *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33/dbug. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. P.S I'm a new, so i don't know how to solve this problem hope you can solve for me easily. From Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL install
Frank wrote: hi, i have questions about install MySQL in FreeBSD 6.0, after type # make it would be display like bottom. make all-recursive Making all in . Making all in include make all-am Making all in Docs Making all in cmd-line-utils Making all in libedit Making all in sql-common Making all in pstack Making all in aout Making all in strings Making all in mysys Making all in dbug /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lc_r -lcrypt -lm -lc_r gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lcrypt -lm ../mysys/libmysys.a(my_thr_init.o) (.text+0x5f): In function 'my_thread_global_end': :undefined reference to 'pthread_cond_timedwait' *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33/dbug. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. P.S I'm a new, so i don't know how to solve this problem hope you can solve for me easily. From Frank Why aren't you installing from either the ports tree or package? If you are using a downloaded tarball (and it seems as you are) You pretty much are on your own. The packages and ports are there for you to use. They are proven to work with little to no issues. Its my philosophy (taken from the old NT 4 days) if it aint on the HAL, you're SOL. Translated - why recreate the wheel when you have the automobile at your disposal. -- Best regards, Chris Professional sample - not for sale. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL install
Frank, On 3/18/07, Frank [EMAIL PROTECTED] wrote: hi, i have questions about install MySQL in FreeBSD 6.0, after type # make it would be display like bottom. make all-recursive Making all in . Making all in include make all-am Making all in Docs Making all in cmd-line-utils Making all in libedit Making all in sql-common Making all in pstack Making all in aout Making all in strings Making all in mysys Making all in dbug /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lc_r -lcrypt -lm -lc_r gcc -O3 -DDBUG_OFF -o factorial my_main.o factorial.o libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lcrypt -lm ../mysys/libmysys.a(my_thr_init.o) (.text+0x5f): In function 'my_thread_global_end': :undefined reference to 'pthread_cond_timedwait' *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33/dbug. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. *** Error code 1 Stop in /usr/home/frank/mysql-5.0.33. P.S I'm a new, so i don't know how to solve this problem hope you can solve for me easily. no problem. you need to install one of the mysql-ports from /usr/ports/databases regards, usleep ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: about MySQL install
On Mar 18, 2007, at 8:21 AM, Frank wrote: Stop in /usr/home/frank/mysql-5.0.33. P.S I'm a new, so i don't know how to solve this problem hope you can solve for me easily. From Frank Frank, Install MySQL from Ports - it'll save you a lot of headache. su root cd /usr/ports/databases/mysql51-server make install clean Edit /etc/rc.conf to add: mysql_enable=YES execute: /usr/local/etc/rc.d/mysql-server.sh start Should be good to go after that! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
question about mysql-server.sh
Hi, Long story made short: The mysql-server.sh that came with mysql-server-4.1.10a (installed from cvsup'ed ports) wouldn't work until after I rebooted the server. It's working now, so I know I shouldn't complain, but anyone know what happened? Long story: 1. Minimum installation, added ports distribution, cvsup to latest ports. 2. cd /usr/ports/mysql41-server; make install 3. '/usr/local/etc/rc.d/mysql-server.sh start' does nothing. 4. I noticed that rc_subr wasn't installed, even though freshports says it is required. So I installed rc_subr from ports, but still no love. 5. I put mysql_enable=YES in rc.conf (since I would soon want it there anyway) and restarted the server. 6. mysql-server.sh works like a charm now. Thanks in advance to anyone who can help shine some light on what might have changed that made mysql-server.sh work. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about mysql-server.sh
rcsubr is the culprit, when you added the line in the rc.conf then all was well. You can add a line in the rc.conf and then run the /usr/local/etc/rc.d/mysql-server.sh start command with out having to reboot. Personally I really dislike rcsubr, makes me think that FreeBSD is drifting toward linux's overly comlexness... a script to start a script that starts a script that starts a script, blah blah blah On Tue, 2005-04-05 at 10:36 -0400, Christopher Lane wrote: Hi, Long story made short: The mysql-server.sh that came with mysql-server-4.1.10a (installed from cvsup'ed ports) wouldn't work until after I rebooted the server. It's working now, so I know I shouldn't complain, but anyone know what happened? Long story: 1. Minimum installation, added ports distribution, cvsup to latest ports. 2. cd /usr/ports/mysql41-server; make install 3. '/usr/local/etc/rc.d/mysql-server.sh start' does nothing. 4. I noticed that rc_subr wasn't installed, even though freshports says it is required. So I installed rc_subr from ports, but still no love. 5. I put mysql_enable=YES in rc.conf (since I would soon want it there anyway) and restarted the server. 6. mysql-server.sh works like a charm now. Thanks in advance to anyone who can help shine some light on what might have changed that made mysql-server.sh work. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question about mysql-server.sh
In the last episode (Apr 05), Ed Stover said: rcsubr is the culprit, when you added the line in the rc.conf then all was well. You can add a line in the rc.conf and then run the /usr/local/etc/rc.d/mysql-server.sh start command with out having to reboot. Personally I really dislike rcsubr, makes me think that FreeBSD is drifting toward linux's overly comlexness... a script to start a script that starts a script that starts a script, blah blah blah On the plus side, a porter now can install a 10-line startup script that handles start/stop/restart/status cleanly, and the user can enable or disable the script, or modify options without editing the startup script itself and having their local changes blown away the next time they update the port. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i found something ugly about mysql
On Thu, Jan 29, 2004 at 05:59:04PM -0800, [EMAIL PROTECTED] wrote: Am probably wrong i hope but mysqld creates a file call /tmp/mysql.sock but this file got to be 777??? ...i loging with a other useran call a rm /ytmp/mysql.sock and mysql stop working ...O_o ..but then i did this ... This is a problem with mysql, not FreeBSD. Try asking on a mysql support mailing list. Also, please wrap your lines at 70 characters so your emails may be easily read. Kris pgp0.pgp Description: PGP signature