| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/mysql/mysql-test/main/ |
Upload File : |
# TODO: enable these tests when RENAME DATABASE is implemented. # # --disable_warnings # drop database if exists testdb1; # --enable_warnings # # create database testdb1 default character set latin2; # use testdb1; # create table t1 (a int); # insert into t1 values (1),(2),(3); # show create database testdb1; # show tables; # rename database testdb1 to testdb2; # --error 1049 # show create database testdb1; # show create database testdb2; # select database(); # show tables; # select a from t1 order by a; # drop database testdb2; # # # Bug#19392 Rename Database: Crash if case change # # create database testdb1; # --error 1007 # rename database testdb1 to testdb1; # drop database testdb1; # # WL#4030 (Deprecate RENAME DATABASE: replace with ALTER DATABASE <name> UPGRADE) # --error ER_PARSE_ERROR rename database testdb1 to testdb2; --error ER_WRONG_USAGE ALTER DATABASE wrong UPGRADE DATA DIRECTORY NAME; --error ER_WRONG_USAGE ALTER DATABASE `#mysql41#not-supported` UPGRADE DATA DIRECTORY NAME; --error ER_WRONG_USAGE ALTER DATABASE `#mysql51#not-yet` UPGRADE DATA DIRECTORY NAME; --error ER_WRONG_DB_NAME ALTER DATABASE `#mysql50#` UPGRADE DATA DIRECTORY NAME; --error ER_BAD_DB_ERROR ALTER DATABASE `#mysql50#upgrade-me` UPGRADE DATA DIRECTORY NAME;