Hello!
I have a program that when you finish your management it allows to you "close" your work. It means that the program exec a "mysqldump" and i drop my old database,(to save the database in file1,for example).(I imagine that this database won't be use further till 1 year or more...)
If ,in the future, i want to store my old database, i'll exec file1 and i'll restore my old data base.
My question is:
If it already exists now a database named like my old database, it won't work.
Does it exist a function to check if there's a database named like mine?
Can i rename a database in mysql using php?
Some idea?
Thanks!
Router