When setting up a server or group of servers for the first time you may find yourself wanting to create MySQL users without having to login to MySQL. It would make sense for the mysqladmin command to offer this functionality but it does not. Instead you can create the MySQL user with the mysql command as shown in the below example performed on a server running Ubuntu Linux 12.04 also known as Precise Pangolin.
Tags: all, alter, create, create tablespace, create user, execute, grant, index, Linux, LOCK TABLES, mysql, mysqladmin, permissions, reload, select, show databases, show view, super, trigger, ubuntu, update
Posts Tagged “LOCK TABLES”
Feb
28
2011
mysqldump: Got error: 145: Table ‘./wordpress/bot_prli_clicks’ is marked as crashed and should be repaired when using LOCK TABLESPosted by alex in ErrorsEarlier I was in the process of upgrading MySQL on a CentOS Linux server and ran into an error when I attempted to backup all of the MySQL databases. When issuing the mysqldump command I received an error 145 noting that one of the mysql database tables was marked as crashed and needed to be repaired. Below I have noted the error in more detail as well as how to repair any tables that are marked as crashed. Tags: .frm, .MYD, .MYI, /var/lib/mysql, 145, 5.0, 5.1, CentOS, crashed, data records, database, error, fixing index, Linux, LOCK TABLES, myisamchk, mysql, mysqldump, outside data file, repaired |









Entries (RSS)