Several flaws were found in a way:1) MySQL handled symbolic links when database tables were created with explicit "DATE" and "INDEX DIRECTORY" options; and2) MySQL's InnoDB engine handled spatial indexes. The risk is LOW. Data destruction - overwrites tables.
Right I have a MYSQL database with table1 with 3 columns, colA, colB and colC. I want to combine the data in the 3 columns into a 4th column names col_comb. Here's the SQL command that works:
UPDATE table1 SET `col_comb` = CONCAT( `colA` , ' - ', `colB` , ', ', `colC` );
So now I want this... (5 Replies)
NDB_DROP_TABLE(1) MySQL Database System NDB_DROP_TABLE(1)NAME
ndb_drop_table - drop an NDB table
SYNOPSIS
ndb_drop_table options
DESCRIPTION
ndb_drop_table drops the specified NDB table. (If you try to use this on a table created with a storage engine other than NDB, the attempt
fails with the error 723: No such table exists.) This operation is extremely fast; in some cases, it can be an order of magnitude faster
than using a MySQL DROP TABLE statement on an NDB table.
Usage
ndb_drop_table -c connect_string tbl_name -d db_name
The following table includes options that are specific to ndb_drop_table. Additional descriptions follow the table. For options common to
most MySQL Cluster programs (including ndb_drop_table), see Options Common to MySQL Cluster Programs(1).
Table 17.19. ndb_drop_table Options and Variables: MySQL Cluster NDB 7.2
+--------------------------+-----------------------------------+-------------------------------------+
|Format | Description | Added / Removed |
+--------------------------+-----------------------------------+-------------------------------------+
| | Name of the database in which the | |
| --database=dbname, | table is found | All MySQL 5.5 based releases |
| | | |
| -d | | |
+--------------------------+-----------------------------------+-------------------------------------+
COPYRIGHT
Copyright (C) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Oracle Corporation (http://dev.mysql.com/).
MySQL 5.5 01/30/2014 NDB_DROP_TABLE(1)