Skip to main content


Showing posts from July, 2016


How to connect remote DB from localhost using PhpMyAdmin

Connecting to a remote database from localhost can be done in many ways. Here I am going to explain a very simple way to do so. That is, connecting a remote database using phpmyadmin in the local server. To do so you need to follow the simple steps given below, Note: Hope you guys have server installed in your local machine Xampp, Wamp etc. I am using xampp for the tutorial.
1.Open the XAMPP control panel. You can open it from the Xampp directory. (eg: C:\xampp ->xampp-control) 2.Click on the Config button on the right side of Apache and select PhpMyAdmin ( from the dropdown list. 3.Now you need to add the connection details in the document just before the php closing tag in the following format. Eg: $i++; $cfg['Servers'][$i]['host'] = ''; //provide hostname and port if other than default $cfg['Servers'][$i]['user'] = '';//user name for your remote server $cfg['Servers'][$i]['password'] = '';//pass…

Xiaomi Redmi Pro will have a deca-core MediaTek Helio X25 SoC

Xiaomi is going to release two new products on July 27 in China. One will be the Redmi Pro and other one is a mystery device from xiaomi. Couple of teasers outed yesterday reveals that the Redmi Pro will have deca-core processor and OLED display.
Xiaomi's CEO Lei Jun has confirmed on weibo that Redmi Pro will be powered by MediaTek's deca-core Helio X25 processor and sport dual rear cameras. He also revealed that Redmi Pro will be a flagship product of the Redmi series. Additionally, Xiaomi released the third teaser of Redmi Pro, that indicates that the phone will sport a brushed metal uni body design and one of its variants will be dressed in gold color.
The leaks and rumors suggests that Redmi Pro will have 5.5-inch 1080p OLED display, 4GB RAM, 64GB / 128GB storage, 12MP dual (Sony IMX260 / ISOCELL S5K2L1) rear camera, dual-SIM slots, Android 6.0 Marshmallow based MIUI 8, fingerprint scanner and 3700mAh battery.

How to reduce the battery consumption in Xiaomi Redmi 2 Prime

The Xiaomi Redmi 2 Prime users are always affected with the battery drain issue. In this post I share some simple steps to reduce the battery consumption by a considerable amount.

1. Decrease the brightness of the screen.

2. Disable the GPS.

3. Disable the Wifi when not in use.

4. Clear background application(press menu button and clear all)

5. Use cleaner tool in security app(security>>cleaner>>scan)

6.Disable auto start Apps:
 Go to 'Security'. Permissions. Auto start. (Disable the Apps which are not required usually.) 7.Battery and performance:
 Go to 'Settings'.Additional Settings.Battery and performance.System animations-select 'Hide system animations'.Manage apps' battery usage- select 'Advanced'  I hope the above mentioned information was helpful. Feel free to ask me if you need any further clarification.