About 15,000,000 results
Open links in new tab
  1. How do I rename a MySQL database (change schema name)?

    For scripting in a shell, you can use either of the following: do mysql -u username -ppassword -sNe "rename table old_db.$table to new_db.$table"; done. OR. Notes: There is no space …

  2. Ways to Rename a Database in MySQL 8 (3 Ways) - Sling Academy

    Jan 26, 2024 · Renaming a database can be essential during a system upgrade, rebranding, or just making database names more descriptive. In MySQL 8, there isn’t a direct RENAME …

  3. Renaming a MySQL Database: Methods & Tips - Atlassian

    In short, you can use the RENAME TABLE command within a MySQL prompt to effectively change the database name of a particular table while keeping the table name intact. However, …

  4. How to Rename MySQL Database - TecAdmin

    Apr 26, 2025 · In this tutorial, you will find three methods to rename a MySQL database. Method 1 – Rename MySQL Database with Command Line. As you know that there is no direct …

  5. How to Rename a MySQL Database in 8 Easy Methods - Devart …

    Dec 3, 2024 · Learn different methods for renaming a MySQL database, including using MySQL Workbench, phpMyAdmin, Shell CLI, and dbForge Studio. Follow this guide for practical …

  6. How to rename Database name in MySQL? - California Learning …

    Jan 19, 2025 · To rename a database in MySQL, you’ll need to use the RENAME DATABASE statement. Here are the tools you can use: MySQL Command-Line Interface (CLI): You can …

  7. Renaming a MySQL database - A2 Hosting

    Learn how to rename a MySQL database with this complete walkthrough including detailed instructions, relevant code snippets, and links to related articles.

  8. How do I change the database name using MySQL? [duplicate]

    Nov 12, 2015 · "As long as two databases are on the same file system, you can use RENAME TABLE to move a table from one database to another" -- ensure the char set and collate …

  9. How to Rename MySQL Database Name in Linux - UbuntuMint

    Jul 24, 2023 · Using the mysqldump shell command, an entire MySQL database dumped copy can be created as a backup copy. Afterward, a new database with the required name is …

  10. How to Rename a MySQL Database (Step by Step) - Threat Picture

    Dec 26, 2023 · Renaming a database in MySQL isn’t as straightforward as it might seem since MySQL does not provide a direct RENAME DATABASE command. However, you can rename …

  11. Some results have been removed
Refresh