开发者

Default MySQL database name

开发者 https://www.devze.com 2023-03-27 10:47 出处:网络
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

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...............


  1. Do you have full database access? Then just add a database with a name of your choice:

    CREATE DATABSE rob_bb;
    
  2. If you only have a normal user access, the database name is often the same as the username.

  3. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号