I would like to replicate permissions from one database to another. Can this be done by simply copying the mysql table?
You should take a look at the question on Server Error .
Not really.
I think it is best to query tables information_schema( SCHEMA_PRIVILEGES, TABLE_PRIVILEGES, USER_PRIVILEGES) and use this data to create GRANTqueries
information_schema
SCHEMA_PRIVILEGES, TABLE_PRIVILEGES, USER_PRIVILEGES
GRANT
More details here: http://dev.mysql.com/doc/refman/5.1/en/privilege-system.html
Source: https://habr.com/ru/post/1772567/More articles:Android: looper / handler vs Java Observer? - javaMaple 13: how to turn true to 1 and false to 0? - type-conversionПерегруженные параметры шаблона - почему этот пример является проблемой? - c++Xml Проблема отправки уведомлений о тостах для запуска приложения WP7 - windows-phone-7Using LINQ to select hierarchical data? - .netHow to determine if a particular TIMESTAMP WITH TIME ZONE is in the summer or not - oracle10gTesting a class that depends on the static functions of another class - c ++What is the easiest way to protect a WWSAPI client from messages from a WCF server? - c ++How do you integrate custom providers into the Microsoft Web Deployment Tool? - documentationUpdating files larger than 1 GB? - c #All Articles