2Jan/10Off
Installing MySQL 5.1 on FreeBSD 7.x
Some quick reference for anyone on FreeBSD 7.x who needs(including myself) to install MySQL 5.1
================== installing mysql 5.1 ================
# cd /usr/ports/databases/mysql51-client
# make install clean
# cd /usr/ports/databases/mysql51-server
# make install clean
# cd /usr/ports/databases/mysql51-scripts
# make install clean
# cp /usr/local/share/mysql/my-small.cnf /usr/local/etc/my.cnf
# chown -R mysql:mysql /var/db/mysql
### This will auto start MySQL on startup, it'll also allow you to start mysql from /usr/local/etc/rc.d/
# echo "mysql_enable=\"YES\"" >> /etc/rc.conf
# cd /usr/local/bin/
# ./mysql_install_db
# /usr/local/bin/mysqld_safe &
# cd /usr/local/bin/
### setup default databases & tables
# ./mysql_secure_installation
November 18th, 2010 - 06:11
Nice article you have given information regarding business.
December 22nd, 2015 - 03:41
Hi,I think you making some msikate in the directory path in which you want to save the image.May be you have write some folder name in the directory but you forget to make that folder. OR your processing file is in some sub directory and you have write some wrong path in the directory name variable.For Example :move_uploaded_file($tmp_name, $uploads_dir/$name );Make sure that you write the correct path in the second argument ($uploads_dir).