Defaults for the mysql client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to set a user's default database for MySQL database?

Instead of having an additional line of command, i.e:

mysql> use database <database_name>

the user should just type mysql and directly end up in the right database.
the configuration should include database and password



The reason I want this is that I want tobe able to create a login that uses mysql
as shell to allow for easy access to  a certain database.

Regards
Uno Engborg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux