Open Source Tips : Networking,Linux/Unix,Programming,News,Howto..

  • Increase font size
  • Default font size
  • Decrease font size
Programming
Here you can find small codes and simple tricks in programming field.

How to Migrate a Mysql Database with a simple method

E-mail Print PDF
User Rating: / 1
PoorBest 

 

If you want to migrate your Mysql Server, you want to export data from one MySQL server to another server, and then import the data to a new server,

It is very simple

Log in to First Server and give  the following command:

 

  Your Ad Here

reset mysql root password

E-mail Print PDF

 

 

if using MySql for the first time then we use the command

#mysqladmin -u root password 'yourpassword'

 give your own password for 'your password' but without quotes

if you know your root password and want to reset it. then we can use the command

 #mysqladmin -u root -p'oldpassword' password 'newpassword'

give your old password and new password but without quotes.

if you forgot the root password 

Last Updated on Monday, 02 November 2009 12:20
 

PHP if-else

E-mail Print PDF

 

Conditional statements are used to perform different actions based on different conditions.

 


Conditional Statements

Very often when you write code, you want to perform different actions for different decisions.

You can use conditional statements in your code to do this.

In PHP we have the following conditional statements:

  • if statement - use this statement to execute some code only if a specified condition is true
  • if...else statement - use this statement to execute some code if a condition is true and another code if the condition is false
  • if...elseif....else statement - use this statement to select one of several blocks of code to be executed
  • switch statement - use this statement to select one of many blocks of code to be executed

 

Introduction to J2ME

E-mail Print PDF

 

 

 Welcome to J2ME,

 Java underwent series of changes through out its life.One major change is introduction of Java into mobile devices.

The explosion of mobile device usage along with J2ME provided many developers never before reach into lives of common man.Yes,that obviously is the main advantage of Java ..as SUN will put it "Write Once Run Anywhere" .This amazing reach which is fuelled by absence of need for recompilation when run on different operating systems  made it a favourite platform for may developers.

Last Updated on Monday, 27 July 2009 13:10
 

PHP Operators

E-mail Print PDF

 

 

This section lists the different operators used in PHP that is arithmetic operators, assignment operators, logical operators and comparison operators with examples.

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »


Page 1 of 4

AdBrite

_____ _Visitors Counter_ _____

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday:102
mod_vvisit_counterYesterday:340
mod_vvisit_counterThis week:1493
mod_vvisit_counterLast week:2292
mod_vvisit_counterThis month:5978
mod_vvisit_counterLast month:10280

Your IP: 38.107.191.82
Now is: 2010-03-18 09:02