You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The following commands create a user "kunde" ("client") with password "secret" to access the database. 


MySQL user for customer access
CREATE USER 'kunde'@'%' IDENTIFIED BY 'secret';
GRANT SELECT, CREATE TEMPORARY TABLES, CREATE ROUTINE, EXECUTE ON JTELWeb.* TO 'kunde'@'%';
GRANT SELECT, CREATE TEMPORARY TABLES, CREATE ROUTINE, EXECUTE ON JTELStats.* TO 'kunde'@'%';
GRANT SELECT, CREATE TEMPORARY TABLES, CREATE ROUTINE, EXECUTE ON JTELStats2.* TO 'kunde'@'%';
GRANT SELECT, CREATE TEMPORARY TABLES, CREATE ROUTINE, EXECUTE ON JTELLog.* TO 'kunde'@'%';
FLUSH PRIVILEGES;

Access should be assigned to customers on one of the slave databases. 

  • No labels