Tuesday, November 16, 2010

Python - My Sql Access - Part 1 - Installation

I have just finished up learning some basic tutorials on python.

i dont need to say the same things that's all over the internet...
Python is a amazing language, etc.,

how to get started with Python - Ubuntu 10.10 - MySql

1) Install Ubuntu - Obvious

2) Install Python (ubuntu comes native with Python)
#Else
open terminal
Type: sudo apt-get python
enter the password:
and the installation will continue and done

3) install mysql
open terminal
--> sudo apt-get install mysql-server
(after download and installation it will ask for a password to connect to the server)
default instance will be - localhost
default username is - root
password - will be the one you typed
-->sudo apt-get install php5-mysql
-->sudo apt-get install mysql-admin

After the installation you will get two menus under Applications--> Programming
My Sql Administrator
MySql Query



use the my sql administrator to connect to the server (localhost/username-root/pass-something you know)
create a sample database
create a sample table

No comments:

Post a Comment