MySQL tutorials
Once you have selected a database, you can list the tables in it by using the show command.
CommentsMySQL dump import -> Error 1217
Contributed by dionak on December 20, 2004 under MySQLWhen using innodb tables and foreign key constraints, importing a mysqldump can sometimes generate foreign key errors.
CommentsSolve: Can’t connect to local MySQL server through socket /tmp/mysql.sock
Contributed by qmchenry on October 31, 2004 under MySQLA frequent error message received when using the mysql command line utility is: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ While this error message can be frustrating, the solution is simple.
CommentsUse regular expressions in MySQL SELECT statements
Contributed by qmchenry on June 30, 2004 under MySQLA very cool and powerful capability in MySQL and other databases is the ability to incorporate regular expression syntax when selecting data. The regular expresion support in MySQL is extensive. This recipe reviews regular expression use in MySQL and lists the supported regular expression metacharacters.
CommentsDelete a column from an existing MySQL table
Contributed by qmchenry on March 18, 2004 under MySQLThe SQL command in this recipe removes a column and the column’s data from an existing MySQL table.
CommentsModify an existing MySQL column
Contributed by qmchenry on February 8, 2004 under MySQLThe best laid plans of mice and DBAs oft go awry, so it is sometimes necessary to change the characteristics of a column after it exists and contains data. Beware whenever you make changes to your database — always make a backup first.
CommentsAdd a column to an existing MySQL table
Contributed by qmchenry on under MySQLMySQL tables are easy to extend with additional columns.
CommentsCreate a MySQL table with a primary key
Contributed by qmchenry on under MySQLA primary key uniquely identify a row in a table. One or more columns may be identified as the primary key. The values in a single column used as the primary key must be unique (like a person’s social security number). When more than one column is used, the combination of column values must be unique.
CommentsPOPULAR RECIPES
- Solve: Can't connect to local MySQL server through socket /tmp/mysql.sock
- Add a column to an existing MySQL table
- Create a MySQL user account
- Change the MySQL root user password
- Drop or delete a table in MySQL
- Display a list of databases on a MySQL server
- Create a MySQL table with a primary key
- Change a MySQL user password
- View our Top Tens
TECH-RECIPES BLOGS
- you're doing it wrong! (rant)
- thoughts of a launch psp owner (post 4 1/2 years)
- Facebook FishVille Cheat: Send Multiple Free Gifts to Your Neighbors
- post release: Windows 7, homegroups and me
- fall 2009 and some geek thoughts, reflections
- Facebook Cafe World Cheat: Close Your Cafe When You are Away for Long Periods of Time (to preserve your Buzz Rating)
- Facebook Cafe World Cheat: Serve Your Customers Instantly
- Facebook Cafe World Cheat: Send Multiple Free Gifts to Your Neighbors








