Uses of Class
com.aoindustries.aoserv.client.mysql.Server.Name
Package
Description
-
Uses of Server.Name in com.aoindustries.aoserv.client
Modifier and TypeMethodDescriptionprotected static Server.Name
AoservObject.getMysqlServerName
(MysqlServerName serverName) null-safe MySQL server name conversion.Modifier and TypeMethodDescriptionint
SimpleAoservClient.addMysqlDatabase
(Database.Name name, Server.Name mysqlServer, String aoServer, Account.Name packageName) Adds a newDatabase
to the system.int
SimpleAoservClient.addMysqlDbUser
(Database.Name name, Server.Name mysqlServer, String aoServer, User.Name username, boolean canSelect, boolean canInsert, boolean canUpdate, boolean canDelete, boolean canCreate, boolean canDrop, boolean canReference, boolean canIndex, boolean canAlter, boolean canCreateTempTable, boolean canLockTables, boolean canCreateView, boolean canShowView, boolean canCreateRoutine, boolean canAlterRoutine, boolean canExecute, boolean canEvent, boolean canTrigger) Grants aUserServer
permission to access aDatabase
.int
SimpleAoservClient.addMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer, String host) int
SimpleAoservClient.disableMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer, String disableReason) Disables aUserServer
.void
SimpleAoservClient.dumpMysqlDatabase
(Database.Name name, Server.Name mysqlServer, String aoServer, boolean gzip, StreamHandler streamHandler) Dumps the contents of aDatabase
to anOutputStream
, optionally gzipped.void
SimpleAoservClient.dumpMysqlDatabase
(Database.Name name, Server.Name mysqlServer, String aoServer, Writer out) void
SimpleAoservClient.enableMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer) Enables aUserServer
.boolean
SimpleAoservClient.isMysqlDatabaseNameAvailable
(Database.Name name, Server.Name mysqlServer, String aoServer) boolean
SimpleAoservClient.isMysqlServerNameAvailable
(Server.Name name, String aoServer) boolean
SimpleAoservClient.isMysqlServerUserPasswordSet
(User.Name username, Server.Name mysqlServer, String aoServer) Determines if aUserServer
currently has a password set.void
SimpleAoservClient.removeMysqlDatabase
(Database.Name name, Server.Name mysqlServer, String aoServer) Removes aDatabase
from the system.void
SimpleAoservClient.removeMysqlDbUser
(Database.Name name, Server.Name mysqlServer, String aoServer, User.Name username) Removes aDatabaseUser
from the system.void
SimpleAoservClient.removeMysqlServerUser
(User.Name username, Server.Name mysqlServer, String aoServer) Removes aUserServer
from a the system..void
SimpleAoservClient.restartMysql
(Server.Name mysqlServer, String aoServer) Restarts the MySQL database server.void
SimpleAoservClient.setMysqlServerUserPassword
(User.Name username, Server.Name mysqlServer, String aoServer, String password) Sets the password for aUserServer
.void
SimpleAoservClient.startMysql
(Server.Name mysqlServer, String aoServer) Starts the MySQL database server if it is not already running.void
SimpleAoservClient.stopMysql
(Server.Name mysqlServer, String aoServer) Stops the MySQL database server if it is running. -
Uses of Server.Name in com.aoindustries.aoserv.client.aosh
Modifier and TypeMethodDescriptionstatic Server.Name
Aosh.parseMysqlServerName
(String s, String field) -
Uses of Server.Name in com.aoindustries.aoserv.client.linux
Modifier and TypeMethodDescriptionServer.getMysqlServer
(Server.Name name) boolean
Server.isMysqlServerNameAvailable
(Server.Name name) -
Uses of Server.Name in com.aoindustries.aoserv.client.mysql
Modifier and TypeMethodDescriptionServer.getName()
Server.Name.intern()
Interns this name much in the same fashion asString.intern()
.static Server.Name
Modifier and TypeMethodDescriptionint
Server.Name.compareTo
(Server.Name other) ServerTable.getMysqlServer
(Server.Name name, Server ao) boolean
ServerTable.isMysqlServerNameAvailable
(Server.Name name, Server ao)