Mysql | Forgot root password in Mysql

| By Webner

If you forget mysql root password these are few easy steps to regain access: 1. shell> mysqld_safe –skip-grant-tables 2.Open another terminal shell> mysql -u root -p (hit enter and use blank password) 3. mysql>UPDATE mysql.user SET Password=PASSWORD(‘NewPassword’)WHERE User=’root’; 4. mysql>FLUSH

Mobile Apps | Fluctuation in the latitude and longitude values for the current location

| By Webner

In mobile applications development tracking lat/long of the current location is one of the most commonly used features. To achieve such functionality we mainly use three types of providers which are: 1. GPS providers 2. Network Providers 3. Sim Card

How to be a good Technical Writer

| By Webner

In software development world, technical writers are those who write about technology, software manuals, “How to” guides etc. They gain understanding of the complex products and explain them in a precise manner to the target audience. Technical writers put themselves

Moodle | Call to undefined method mysqli_native_moodle_database :: insert_records()

| By Webner

We were using insert_records() function to insert multiple records in a Moodle database table but it was not working. We checked for errors by adding following lines in config.php file of moodle: @error_reporting(E_ALL | E_STRICT); @ini_set(‘display_errors’, ‘1’); $CFG->debug = (E_ALL

Secure Apache Webserver

| By Webner

By default Apache web server does not come with all the securities enabled. We have to enable enhanced securities before making it live & accessible to the outside world. Remove Server Version Banner : Modify httpd.conf and add following directives