Posts

Showing posts from July, 2014

Create a MySQL Database, Username, Password, and Privileges from the command line

Step 1: Login to MySQL ( you will need an account ) user@server:~$ mysql -u mysql_user -p Enter password: Step 2: Create the Database mysql > create database db_name; Step 3: Verify that it’s there mysql > show databases; Step 4: Create the User mysql > create user db_user; Step 5: Grant privileges while assigning the password mysql > grant all on db_name.* to 'db_user'@'localhost' identified by 'db_password'; *Note: The localhost field usually doesn’t have to be edited, but you can set it to the specific address. The above example grants all privileges, obviously. But you will likely want to limit privileges under many circumstances. These parameters include select, insert, and delete. Choose all that apply and separate by comma, thusly: mysql > grant select, insert, delete on db_name.* to 'db_user'@'localhost' identified by 'db_password';

How to install Softaculous in WHM

Image
1) In order to install Softaculous ensure ionCube Loaders are enabled. If it is not enabled you can go to WHM >> Tweak Settings >>PHP >> Select ioncube from Loader to use for internal cPanel PHP 2) Now Login to the server as root. 3)Go to the directory /usr/local/cpanel/whostmgr/docroot/cgi cd /usr/local/cpanel/whostmgr/docroot/cgi 4) Download Softaculous wget -N http://www.softaculous.com/ins/addon_softaculous.php 5) Change the permissions to 755 chmod 755 addon_softaculous.php That’s for the command line. Now login to WHM 6) Go to WHM > Plugins> Softaculous – Instant Installs

How to change email password through webmail

Image
1.Login to your webmail account (Example: http://www.domain.com/webmail) 2.From the webmail home, click on the Change Password icon.  3.Now enter your new password in the provided field and click on change button. If you have configured your e-mail account in Outlook Express, MS Outlook or any other e-mail client, and configured it to remember the password, then you will have to change it to the new password.

SQL Server Creating an instance of the COM

SQL Server : Creating an instance of the COM component with CLSID: Problem with creating maintenance plans While working on a project to configure backup job , I had problem with creating maintenance plans in SQL 2008 R2, x64 as when tried to open maintenance plans got below mentioned error message . Second, it might happen that one can open the maintenance plans wizard, but at the time of submission, same error appears so same can be solved with below mentioned workaround. Error Message: ======================================================================== Maintenance Plan Wizard Progress - Creating maintenance plan "Daily backup (Error) Messages • Create maintenance plan failed. ------------------------------ ADDITIONAL INFORMATION: Creating an instance of the COM component with CLSID {17BCA6E8-A95D-497E-B2F9-AF6AA475916F} from the IClassFactory failed due to the following error: c001f011. (Microsoft.SqlServer.ManagedDTS) ------------------------------ Cre