ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i dont know how to find out "who you are". That should be known when you log in i guess , But the permissions database is the mysql database. It has many levels of permissions though. User level convering all databases, database level, table level and even record level. You'd have to run some SQL commands to get the permissions you have. I think the only user that has permission to this database however is the root user.
Other than that, I'm not sure if a user can obtain his/her permissions simply because they are kept in the mysql database.
#1 MySQL is case sensitive or not ? When I change databases "use databasename" it is case sensitive, but when I create, drop, select it's not..
#2 How can I change host in the MYSQL ?
#1 MySQL is case sensitive or not ? When I change databases "use databasename" it is case sensitive, but when I create, drop, select it's not..
You gave most of the answer already.
Names of databases and tables are case-sensitive.
Names of columns, and the SQL keywords (like selEct, fRom...) ar not.
Quote:
#2 How can I change host in the MYSQL ?
With the -h (or --host) commandline option of mysql.
Sure. See "man mysqldump".
You may also like to read about starting the mysql server with the --log option. You can use this in combination with the mysqldump options "--lock-tables" and "--flush-logs" to be able to recover a database passed the latest mysqldump back-up. Make sure the log is written to a different disk or even a different computer (i.e. using NFS), or make very regluar backups of the update log.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.