This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are using Fedora, CentOS, Red Hat or Scientific Linux I am going to show you the basic install of MySQL using yum. | |
Install MySQL Client and Server software | |
To install MySQL Client and Server enter the following commands: | |
[root@regan ~]# yum groupinstall "MySQL Database server" | |
[root@regan ~]# yum groupinstall "MySQL Database client" | |
To install the MySQL system tables and setup MySQL to start on boot you need to enter the following commands: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected String getUser() { | |
String username; | |
LOGGER.debug("getAuthentication().getName():" | |
+ SecurityContextHolder.getContext().getAuthentication() | |
.getName()); | |
Object obj = SecurityContextHolder.getContext().getAuthentication() | |
.getPrincipal(); |
NewerOlder