[Mysql] database access steps


mysql -u root -p ->to login using root user CREATE DATABASE TESTDB; -> to create a new database, use this command. TESTDB is a dummy database. To use this database,  command is use TESTDB -> by using “use Database_name” , we can access the Database_name. CREATE TABLE  test_tbl (test_name VARCHAR(20), test_status VARCHAR(20) ); –> To create a tableContinueContinue reading “[Mysql] database access steps”

[Linux][Python][mysql]ImportError: No module named MySQLdb


Here is the solution for ImportError: No module named MySQLdb install python-mysqldb using the following command (ubuntu ) apt-get install python-mysqldb in Fedora use yum install instead of apt-get install.

Design a site like this with WordPress.com
Get started