Category: Linux
-
[Solution] ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
Basically means that: db_users using it, will be “auth” by the system user credentias. You can see if your root user is set up like this by…
-
[Solution] How to reset a MySQL root password easily
Stop the MySQL service sudo /etc/init.d/mysql stop Start MySQL without a password sudo mysqld_safe –skip-grant-tables & Connect to MySQL mysql -uroot Set…
-
[Solution] Redirect Non-WWW to WWW on Bitnami WordPress
Edit this file Change ServerName and ServerAlias to your domain, then Add these lines Then restart apache
-
-
[Solution] How can I list the current Apache 2 virtual hosts from the command line
Sometimes you need to get your virtual host file, you can get them by : a2query -s or apachectl -S
-
[Solution] Create a MySQL database character with charset UTF-8 under Linux Ubuntu
To connect to MySQL mysql -u root -p Create a MysSQL Datatase CREATE DATABASE mydatabase; or Create a MySQL database character with…
-
[Solution] Add Expires headers on Ubuntu
How to add expire header on Ubuntu with Apache2 : Edit your httpd.conf The module ‘mod_expires’ must be activated Add the new…
-
[Solution] Invalid command ‘RewriteCond’, perhaps misspelled or defined by a module
Check to make sure you have mod_rewrite enabled. Under Apache 2+ sudo a2enmod rewrite && sudo service apache2 restart or sudo a2enmod rewrite…
-
phpMyAdmin not found after installation
I share with you the solution : Create a link /var/www sudo ln -s /usr/share/phpmyadmin /var/www/ sudo nano /etc/apache2/apache2.conf Then add the…