You can recover MySQL database server password with following five easy steps:
Step # 1
# /etc/init.d/mysqld stop
Step # 2: Start to MySQL server w/o password:
# mysqld_safe –skip-grant-tables &
Step # 3: Connect to mysql server using mysql client:
# mysql -u root
Step # 4: Setup new MySQL root user password
mysql> use mysql; mysql> update user set password=PASSWORD(“NEW-ROOT-PASSWORD”) where User=’root’;
mysql> flush privileges;
mysql> quit
Step # 5: Stop MySQL Server:
# /etc/init.d/mysqld stop
Step # 6: Start...
Create a “vhost.conf” file in “/var/www/vhosts/<domain name>/conf/”
<Directory /var/www/vhosts/<domain name>/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>
::Rebuild the domain configs for the particular host via::–
#/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain name>
::or rebuild all via::–
#/usr/local/psa/admin/sbin/websrvmng -a
#service httpd reload
Also applies to questions like :
How to turn ON/OFF php Safe mode
turning off safe mode
customizing...
Fellas.. Here are few simple steps to upgrade PHP 5.1.x to 5.2.x(latest Release) on a virtual machine with CentOS-5.
It uses RPM repository maintained by Remi.
Step 1: #wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm
Step 2: #wget http://rpms.famillecollet.com/el5.i386/remi-release-5-4.el5.remi.noarch.rpm
Step 3: #rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
RPM repository is now on your server but its disable by default. To enable it for PHP use following command.
#yum –enablerepo=remi update php
(Make sure that...
WEB Tecker is one of the latest trends in the web. It gives you the best of 8 open source shopping cart. Presta shop is an e –commerce shopping cart software, which can be downloaded and used free of cost. You are never locked for expensive commercial software. Open cart one source shop is an open source online shopping cart system wherein customers can write their views on the product. Magento is an open source e-commerce solution that offers flexibility. Agora cart is also a popular online shopping cart written in MySQL/Perl. One of its features is the...
ASP.NET 2.0 does not support silver light, Ajax, linq etc. whereas ASP.NET 3.5 supports all these controls. In ASP.NET 2.0 designing is easier than ASP.NET 3.5. .Net framework 2.0 has brought a lot of evolution in the class of framework control including the support of anonymous methods, generics, partial class and nullable type. .Net framework 3.5 introduced Linq evolution in the language as to which we have the following evolution in class: Linq for XML, SQL, Dataset, object, P2P base class, adding system, active directory, anonymous types, ASP.NET Ajax,...



