Default MySQL database name
I'm trying to install mybb on a server but the admin is taking too long to respond. I have all the information开发者_如何转开发 I need except the database name. Is there a default name for mysql on a linux server?
There is no default database.
A fresh MySQL server install will have 0 databases. The install script will run mysql_install_db
after the server is running to create a mysql
database, which MySQL uses to store users and privileges. Don't put your data there.
You can create your own databases by issuing CREATE DATABASE [name]
queries if your user has permission.
No there is not...............
Do you have full database access? Then just add a database with a name of your choice:
CREATE DATABSE rob_bb;
If you only have a normal user access, the database name is often the same as the username.
Or you can run the query
SHOW DATABASES;
to see what databases exist (which you are allowed to see).
There are no default databases. If you were asking about default users 'root' would be it.
精彩评论