Sun MySQL Logo

Related Topics:

Anonymous Posted on Aug 05, 2008

Rename a mysql database with phpmyadmin

Is there a way to rename a database with phpmyadmin?

2 Answers

Anonymous

Level 1:

An expert who has achieved level 1.

New Friend:

An expert that has 1 follower.

  • Contributor 1 Answer
  • Posted on Jun 06, 2011
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

New Friend:

An expert that has 1 follower.

Joined: Jun 06, 2011
Answers
1
Questions
0
Helped
2299
Points
1

Follow these steps:

1) In phyMyadminselect the database you want to rename
2) Click on the "Operations" tab
3) Place your cursor on the "Rename Database to" text box and type the new name of the database.
4) Click on the "Go" button and let it do its work.

Good luck.

Anonymous

Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 8 Answers
  • Posted on Nov 26, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Corporal:

An expert that hasĀ over 10 points.

Problem Solver:

An expert who has answered 5 questions.

Joined: Nov 26, 2008
Answers
8
Questions
0
Helped
7820
Points
11

Yes. In the SQL tab,

RENAME DATABASE test TO new_test ;

  • Anonymous Jun 06, 2011

    I trtied that as such:

    RENAME DATABASE classicmodels TO sampleorders;

    but it shows an error:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DATABASE classicmodels TO sampleorders' at line 1

×

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How to set database empty ?

To empty a database follow these steps:
  1. Go to cPanel >> Databases section >> phpMyAdmin menu. ...
  2. Select the database you wish to empty. ...
  3. Tick Check All to select all tables and choose the Drop option from the With selected drop-down list:
  4. This will execute the DROP TABLE SQL query to empty all the tables at once.
https://www.namecheap.com/support/knowledgebase/article.aspx/9945/2180/how-to-empty-a-mysql-database
2helpful
2answers

How to restore MySQL database Windows tool?

You can restore corrupt and delete SQL database file in few steps for MySQL Restore Toolbox. With this software you can also recover triggers, keys, indexes and table. Software support multiple MDF file recovery option. Software is supported by all Windows operating system. Get more ideas and download free trial version from -http://www.filerepairforum.com/forum/databases/databases-aa/mysql/1162-dump-mysql-database-file-is-error
May 29, 2015 • Sun MySQL
1helpful
3answers

How to fix mysql error 1046?

For the database import, before you attempt to import the "flat" file data in, you need go to your local DB (MySQL) and create new database
After that you can import!
Also check this links:
http://www.repairtoolforsql.fixtoolbox.com/ Fix Toolbox for MySQL
http://www.sqlservercentral.com/Forums/Topic1618894-2893-1.aspx
0helpful
2answers

Im getting a MySQL error saying : "Exception

Try to remove or rename your existing connection file, QB creates a new one if it does not find any existing, allowing so to recover from broken files.

MySQL Repair
Dec 27, 2010 • Sun MySQL
0helpful
1answer

Im getting a MySQL error saying : "Exception EMyxError in module MySQLQueryBrowser.exe at 00111E52. Error while loading stored connections. Error Number 3."

I think your MySQL Server databases got corrupt.
Try to remove or rename your existing connection file, creates a new one if it does not find any existing, allowing so to recover from broken files from the utilies below-

MySql Fix Toolbox provides easy ways of MySQL fix

Worried for Losing Data due to MySQL Corruption
0helpful
1answer

Run-time error '-2147467259 (80004005)': Unrecognized database format 'C:Windowssystem32wints.dat'.

To fix this program, you need to rename a folder containing a previous version of the installer. Open My Computer and navigate to C:Program FilesCommon Files. Right-click the Installshield folder and select Rename. You can rename the folder anything, but, as Google suggests, something like Installshield-old will give you a hint about the folder’s previous name. Close My Computer and try running the installer again. If that doesn't work tell me and I will see what I can do.
0helpful
1answer
0helpful
1answer

I removed the password in phpmyadmin as i was using root/root Now nothing is working. I am using mamp Access denied for user 'root'@'localhost' (using password: YES

this might be what you are looking forr http://rudyegenias.wordpress.com/2006/09/15/enabling-phpmyadmin-once-you-change-permission-or-privileges-on-mysql-database/

May 12, 2009 • Sun MySQL
1helpful
5answers

Table Repair MySQL

MySQL offers Check Table syntax that checks a table or tables for errors. It works for several storage engines like MyISAM, InnoDB, & Archive. If you run this syntax then you can the cause of problem & reported tables.

If Check Table finds errors then you can repair reported tables by Repair MySQL Table syntax.
Aug 06, 2008 • Sun MySQL
0helpful
1answer

How to clean mysql database in avery 3.0

Use phpMyAdmin. It has an empty button that'll clean everything out for you, or you can create a copy of the database without exporting any of the data.
Not finding what you are looking for?

2,309 views

Ask a Question

Usually answered in minutes!

Top Sun Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

k24674

Level 3 Expert

8093 Answers

Sean Wright
Sean Wright

Level 3 Expert

2045 Answers

Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...