Feed Aggregator

MySQL Server Error Codes and Messages 1500 - 1549

oli - Mon, 2010-12-06 11:52

1450 - 1499 1550 - 1599


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1450 - 1499

oli - Mon, 2010-12-06 11:51

1400 - 1449 1500 - 1549

  • Error: 1450 SQLSTATE: HY000 (ER_FORBID_SCHEMA_CHANGE)

    Message: Changing schema from ‘%s’ to ‘%s’ is not allowed.

  • Error: 1451 SQLSTATE: 23000 (ER_ROW_IS_REFERENCED_2)

    Message: Cannot delete or update a parent row: a foreign key constraint fails (%s)

  • Error: 1452 SQLSTATE: 23000 (ER_NO_REFERENCED_ROW_2)

    Message: Cannot add or update a child row: a foreign key constraint fails (%s)

  • Error: 1453 SQLSTATE: 42000 (ER_SP_BAD_VAR_SHADOW)

    Message: Variable ‘%s’ must be quoted with
    ...<br>, or renamed

  • Error: 1454 SQLSTATE: HY000 (ER_TRG_NO_DEFINER)

    Message: No definer attribute for trigger ‘%s’.’%s’. The trigger will be activated under the authorization of the invoker, which may have insufficient privileges. Please recreate the trigger.

  • Error: 1455 SQLSTATE: HY000 (ER_OLD_FILE_FORMAT)

    Message: ‘%s’ has an old format, you should re-create the ‘%s’ object(s)

  • Error: 1456 SQLSTATE: HY000 ( …


Taxonomy upgrade extras:  mysql, trigger, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1400 - 1449

oli - Mon, 2010-12-06 11:50

1350 - 1399 1450 - 1499

  • Error: 1400 SQLSTATE: XAE09 (ER_XAER_OUTSIDE)

    Message: XAER_OUTSIDE: Some work is done outside global transaction

  • Error: 1401 SQLSTATE: XAE03 (ER_XAER_RMERR)

    Message: XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency

  • Error: 1402 SQLSTATE: XA100 (ER_XA_RBROLLBACK)

    Message: XA_RBROLLBACK: Transaction branch was rolled back

  • Error: 1403 SQLSTATE: 42000 (ER_NONEXISTING_PROC_GRANT)

    Message: There is no such grant defined for user ‘%s’ on host ‘%s’ on routine ‘%s’

  • Error: 1404 SQLSTATE: HY000 (ER_PROC_AUTO_GRANT_FAIL)

    Message: Failed to grant EXECUTE and ALTER ROUTINE privileges

  • Error: 1405 SQLSTATE: HY000 (ER_PROC_AUTO_REVOKE_FAIL)

    Message: Failed to revoke all privileges to dropped routine

  • Error: 1406 SQLSTATE: 22001 (ER_DATA_TOO_LONG)

    Message: Data too long for column ‘%s’ at row %ld

  • Error: 1407 SQLSTATE: 42000 (ER_SP_BAD_SQLSTATE)

    Message: Bad SQLSTATE: ‘%s’ …


Taxonomy upgrade extras:  mysql, trigger, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1350 - 1399

oli - Mon, 2010-12-06 11:49

1300 - 1349 1400 - 1449

  • Error: 1350 SQLSTATE: HY000 (ER_VIEW_SELECT_CLAUSE)

    Message: View’s SELECT contains a ‘%s’ clause

  • Error: 1351 SQLSTATE: HY000 (ER_VIEW_SELECT_VARIABLE)

    Message: View’s SELECT contains a variable or parameter

  • Error: 1352 SQLSTATE: HY000 (ER_VIEW_SELECT_TMPTABLE)

    Message: View’s SELECT refers to a temporary table ‘%s’

  • Error: 1353 SQLSTATE: HY000 (ER_VIEW_WRONG_LIST)

    Message: View’s SELECT and view’s field list have different column counts

  • Error: 1354 SQLSTATE: HY000 (ER_WARN_VIEW_MERGE)

    Message: View merge algorithm can’t be used here for now (assumed undefined algorithm)

  • Error: 1355 SQLSTATE: HY000 (ER_WARN_VIEW_WITHOUT_KEY)

    Message: View being updated does not have complete key of underlying table in it

  • Error: 1356 SQLSTATE: HY000 (ER_VIEW_INVALID)

    Message: View ‘%s.%s’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

  • Error: 1357 …


Taxonomy upgrade extras:  mysql, trigger, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1300 - 1349

oli - Mon, 2010-12-06 11:46

1250 - 1299 1350 - 1399


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1250 - 1299

oli - Mon, 2010-12-06 11:45

1200 - 1249 1300 - 1349


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1200 - 1249

oli - Mon, 2010-12-06 11:43

1150 - 1199 1250 - 1299


  Error: 1200 SQLSTATE: HY000 (ER_BAD_SLAVE)
  Message: The server is not configured as slave; fix in config file or with CHANGE MASTER TO

How does the MySQL error message look like?


  Error: 1201 SQLSTATE: HY000 (ER_MASTER_INFO)
  Message: Could not initialize master info structure; more error messages can be found in the MySQL error log

How does the MySQL error message look like?


  Error: 1202 SQLSTATE: HY000 (ER_SLAVE_THREAD)
  Message: Could not create slave thread; check system resources

How does the MySQL error message look like?


  Error: 1203 SQLSTATE: 42000 (ER_TOO_MANY_USER_CONNECTIONS)
  Message: User %s already has more than 'max_user_connections' active connections

How does the MySQL error message look like?


  Error: 1204 SQLSTATE: HY000 (ER_SET_CONSTANTS_ONLY)
  Message: You may only use constant expressions with SET

How does the MySQL error message look like?


  Error: 1205 SQLSTATE: HY000 (ER_LOCK_WAIT_TIMEOUT)
  Message: Lock wait timeout …

Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1150 - 1199

oli - Mon, 2010-12-06 11:42

1100 - 1149 1200 - 1249


  Error: 1153 SQLSTATE: 08S01 (ER_NET_PACKET_TOO_LARGE)
  Message: Got a packet bigger than 'max_allowed_packet' bytes

How does the MySQL error message look like?

  mysql --user=root --max_allowed_packet=128M test < test_dump.sql
  ERROR 1153 (08S01) at line 87: Got a packet bigger than 'max_allowed_packet' bytes

What does the MySQL error message mean?

This MySQL error message means that max_allowed_packet parameter either on client or on server side is too small for the data to be processed.

When does this MySQL error message happen?

This error typically happens when you have set the max_allowed_packet …


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1100 - 1149

oli - Mon, 2010-12-06 11:41

1050 - 1099 1150 - 1199

  • Error: 1100 SQLSTATE: HY000 (ER_TABLE_NOT_LOCKED)

    Message: Table ‘%s’ was not locked with LOCK TABLES

  • Error: 1101 SQLSTATE: 42000 (ER_BLOB_CANT_HAVE_DEFAULT)

    Message: BLOB/TEXT column ‘%s’ can’t have a default value

  • Error: 1102 SQLSTATE: 42000 (ER_WRONG_DB_NAME)

    Message: Incorrect database name ‘%s’

  • Error: 1103 SQLSTATE: 42000 (ER_WRONG_TABLE_NAME)

    Message: Incorrect table name ‘%s’

  • Error: 1104 SQLSTATE: 42000 (ER_TOO_BIG_SELECT)

    Message: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay

  • Error: 1105 SQLSTATE: HY000 (ER_UNKNOWN_ERROR)

    Message: Unknown error

  • Error: 1106 SQLSTATE: 42000 (ER_UNKNOWN_PROCEDURE)

    Message: Unknown procedure ‘%s’

  • Error: 1107 SQLSTATE: 42000 (ER_WRONG_PARAMCOUNT_TO_PROCEDURE)

    Message: Incorrect parameter count to procedure ‘%s’

  • Error: 1108 SQLSTATE: HY000 ( …


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1050 - 1099

oli - Mon, 2010-12-06 11:38

1000 - 1049 1100 - 1149


Error: 1050 SQLSTATE: 42S01 (ER_TABLE_EXISTS_ERROR)

Message: Table ‘%s’ already exists


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Server Error Codes and Messages 1000 - 1049

oli - Mon, 2010-12-06 11:32

1050 - 1099

  • Error: 1000 SQLSTATE: HY000 (ER_HASHCHK)

    Message: hashchk

  • Error: 1001 SQLSTATE: HY000 (ER_NISAMCHK)

    Message: isamchk

  • Error: 1002 SQLSTATE: HY000 (ER_NO)

    Message: NO

  • Error: 1003 SQLSTATE: HY000 (ER_YES)

    Message: YES

  • Error: 1004 SQLSTATE: HY000 (ER_CANT_CREATE_FILE)

    Message: Can’t create file ‘%s’ (errno: %d)

  • Error: 1005 SQLSTATE: HY000 (ER_CANT_CREATE_TABLE)

    Message: Can’t create table ‘%s’ (errno: %d)


  Error: 1006 SQLSTATE: HY000 (ER_CANT_CREATE_DB)
  Message: Can't create database '%s' (errno: %d)

How does the MySQL error message look like?

  mysql> CREATE DATABASE test;
  ERROR 1006 (HY000): Can't create database 'test' (errno: 13)

What does the MySQL error message mean?

The MySQL Server (mysqld process) can, for whatever reason, NOT create a schema/database.

Additional information you can get as follows:

  shell> perror 13
  OS error code  13:  Permission denied

When does this MySQL error message happen?

This MySQL error …


Taxonomy upgrade extras:  mysql, support, error, help,
Categories: 

MySQL Error codes and messages

oli - Wed, 2010-12-01 14:56

Just a general rule with error messages: Usually they are not as good as they could be. But nevertheless read them carefully. Most of the time they tell you what you need to know…

And an other wisdom: Errors are really errors and they have to be solved. Warnings are warnings and you should investigate if they appear. Do not ignore both of them unless you have clearly understood what you are doing.

With MySQL:

mysql> SHOW WARNINGS

is often your friend! Further sources to find the problems are:

mysql> SHOW SLAVE STATUS<br>G
shell> perror <error_number>
shell> perror --ndb <error_number>

And the MySQL Error log.

MySQL Server Error Codes and Messages

  1. MySQL Errors 1000 - 1049
  2. MySQL Errors 1050 - 1099
  3. MySQL Errors 1100 - 1149
  4. MySQL Errors 1150 - 1199
  5. MySQL Errors 1200 - 1249
  6. MySQL Errors 1250 - 1299
  7. MySQL Errors 1300 - 1349
  8. MySQL Errors 1350 - 1399
  9. MySQL Errors 1400 - 1449
  10. MySQL Errors 1450 - 1499
  11. MySQL Errors 1500 - 1549
  12. MySQL Errors 1550 - 1599
  13. MySQL Errors 1600 - 1649 …

Taxonomy upgrade extras:  mysql, support, error, help, mysql support,
Categories: 

MariaDB, Galera and MySQL Support

oli - Wed, 2010-12-01 12:26

FromDual is a support partner of MariaDB plc, Codership Oy and Oracle Corporation. This gives us the opportunity to offer you customized enterprise support subscriptions for your mission-critical MariaDB, Galera or MySQL databases for all three vendors.

Alternatively, we can offer you our remote DBA services (without SLA) or our MariaDB, Galera and MySQL trainings.

MariaDB and MariaDB Cluster Support Subscriptions

  • MariaDB Enterprise support subscription: 7x24 support subscription, duration: 1 to 3 years, unlimited number of support cases, subscription per instance, including MaxScale, Connectors and MariaDB Enterprise Server.
  • MariaDB Enterprise (Galera) Cluster Support Subscription: 7x24 support subscription, duration: 1 to 3 years, unlimited support cases, subscription per cluster, including, MaxScale, Connectors and MariaDB Enterprise Cluster.
  • MariaDB Enterprise Column Store Support Subscription: 7x24 support subscription, duration: 1 to 3 years, unlimited support cases, subscription per instance/module, …

Taxonomy upgrade extras:  replication, cluster, support, mysql support, mysql-replication, mariadb support, galera support, galera,
Categories: 

Results from using PBXT with AVG_ROW_LENGTH

oli - Wed, 2010-11-24 15:03

We dug some further with this problem of too big rows. The results you can find below.

NameEngineRow_formatRowsAvg_row_lengthData_lengthIndex_lengthCreate_options
t_innodb_varcharInnoDBCompact52483337194478087880704
t_innodb_varcharlongInnoDBCompact52483337194478087880704
t_innodb_charInnoDBCompact52440399519864327880704
t_innodb_tinytextInnoDBCompact52483337194478087880704
t_innodb_smalltextInnoDBCompact52483337194478087880704
t_innodb_mediumtextInnoDBCompact52483337194478087880704
t_innodb_longtextInnoDBCompact52483337194478087880704
t_memory_charMEMORYFixed52428873400345528548880
t_memory_varcharMEMORYFixed52428874400345528548880
t_myisam_varcharMyISAMDynamic524288201048576010741760
t_myisam_varcharlongMyISAMDynamic524288201048576010741760
t_myisam_charMyISAMFixed524288733827302410728448
t_myisam_tinytextMyISAMDynamic524288201048576010741760
t_myisam_smalltextMyISAMDynamic524288201048576010741760
t_myisam_mediumtextMyISAMDynamic5242882412582912 …

Taxonomy upgrade extras: 
Categories: 

Partitioning with PBXT MEMORY tables

oli - Wed, 2010-11-24 09:53

Further discussion we had about PBXT MEMORY tables partitioned:

Q: Is there a good case where partitioned PBXT MEMORY tables could make sense?

A: To have some partitions on disk and other in memory could be useful.

Unfortunately MySQL (up to 5.6.1) and MariaDB (up to 5.2.3) do not support mixing different Storage Engines for a partitioned table yet:

ERROR 1497 (HY000): The mix of handlers in the partitions is not allowed in this version of MySQL

Lit: CREATE TABLE


Taxonomy upgrade extras: 
Categories: 

AVG_ROW_LENGTH = 12

oli - Tue, 2010-11-23 16:43

Hi Stewart,

Thanks for your comment. Paul made some similar conclusions:

The problem could be that the fixed length record component is too large. PBXT tries to estimate the average row length of a table when it is created. It then sets the fixed length record component to the estimated average row length value.

If the estimate is not good, you can set it explicitly by setting AVG_ROW_LENGTH.

Optimizing the average row length is explained in my talk.

For the moment you can just try AVG_ROW_LENGTH = 12. This will place all the data in the extended record component, which optimizes memory usage.

So I have to dive into this again and do some more investigations.

Cheers, Oli


Taxonomy upgrade extras: 
Categories: 

Normal PBXT makes guesses as

Stewart Smith - Tue, 2010-11-23 14:06

Normal PBXT makes guesses as to what rows should be stored fixed format and what varsized.

It is possible that for memory tables, this guess is wrong.

I forget the syntax to change it, but it is possible.

perhaps these default guesses should be different for in memory tables too.


Taxonomy upgrade extras: 
Categories: 

Transactional memory resident tables with PBXT

Shinguz - Sun, 2010-11-21 21:32

Introduction

In his presentation about PBXT at the DOAG Conference 2010 Paul McCullagh was speaking about memory resident PBXT tables. They will be available in version 1.1 of the PBXT Storage Engine Plugin. Memory resident PBXT tables should have similar characteristics like normal MySQL MEMORY</span> tables</a>. But in addition to the MEMORY tables they are transactional and can handle BLOB</span> and TEXT attributes.

An alternative to this feature would be the MySQL dynamic heap row patches provided by eBay and hosted at code.google.com.

In the following blog article we go through the installation of the PBXT Storage Engine Plugin version 1.1 and how to use PBXT `MEMORY resident tables.

Download

I have not found binaries yet. So we have to compile them ourself. Download is pretty simple:

shell> bzr branch lp:pbxt/1.1

Build

To build the pluggable PBXT Storage Engine we have to do the typical 3 steps: `configure; make; make install. But there are some pitfalls to circumvent:

shell> …

Taxonomy upgrade extras:  english, storage engine, transaction, memory, plugin, resident, pbxt, blob, memory table,
Categories: 

MySQL Plugins and UDF's

oli - Sat, 2010-11-20 12:58

At the DOAG 2010 we found that there are already a lot of Plugins etc. for MySQL available. Therefor it will be a good time to start with a collection of Plugins, UDF’s etc. available.

Because we have done already a collection of MySQL Storage Engines earlier please look there form more information.

NameTypeworks withVersionLicenseUseful for
mnoGoSearchPluginMySQL 5.1v3.2.43GPL v2?Pluggable fulltext parsers interface.
HandlerSocketPluginMySQLPublic Domain?HandlerSocket is a NoSQL plugin for MySQL. It works as a daemon inside the mysqld process, accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries. Instead, it supports simple CRUD operations on tables.
MycachedUDFMySQLMemcached protocol support for MySQL.
SphinxPluginMySQLGPL v2Sphinx fulltext search as MySQL Storage Engine (SphinxSE). More details you can find at our collection of MySQL Storage Engines.
plugin to produce an integer timestampUDFMySQL …

Taxonomy upgrade extras:  storage engine, pluggable, udf, plugin,
Categories: 

Why shall 2 LCPs be kept?

oli - Fri, 2010-11-19 11:15

Hi Baomin Wang,

After some thinking an talking to some colleagues I found the answer:

When MySQL Cluster writes LCP’s it first writes LCP 1, then LCP 2. After LCP 2 it OVERwrites the LCP 1 again and then overwrites LCP 2 again and so on…

This assures that we have always ONE complete and good LCP from where we can recover in case of a complete Cluster crash.

When we would have only 1 LCP file this cannot be assured.

Regards, Oli


Taxonomy upgrade extras: 
Categories: 

Pages

Subscribe to FromDual aggregator