Drop User: only deletes users,
Drop user ×× cascade: All Tables and views under this user name are deleted.UserSpecify the user to be dropped. Oracle database does not drop users whose SchemasContain objects unless you specify cascade or unless you
When you delete indexes, tables, tablespaces, users, and other database objects or users, you may encounter the following errors:
SQL> drop user Oracle cascade; Drop user oracle cascade; * ERROR at line 1: ORA-00604: error occurred at recursive SQL
1. Symptom: The code is as follows:Copy code SQL> drop user test cascade;Drop user test cascade*ERROR at line 1:ORA-00604: error occurred at recursive SQL level 1ORA-00069: cannot acquire lock -- table locks disabled for T1 SQL> conn
Database version: Mariadb 10.0.12The main library removes redundant user names because there is no such information from the library causing master-slave failure!The error message is as follows:Error ' Operation DROP USER failed for ' username ' @ '
Drop user deletes all user information, while delete only deletes the user table. Other information, such as the information in the db table, still exists.If you create a user with the minimum permission after the delete operation, the user will
Drop user deletes all user information, while delete only deletes the user table. Other information, such as the information in the db table, still exists.
If you create a user with the minimum permission after the delete operation, the user will
Drop user deletes all of the user's information, and delete only clears the users table, and other information, such as the DB table, exists.
If you create a user with the least privilege after delete, then he reuses the previous permissions.
Grant
How to kill all the processes under a user and drop the userCopy the sample code below into a file named Kill_drop_user.sql.Open Sql*plus and connect as user SYS to your databaseSql> CONNECT Sys/[email protected] as SYSDBACreate a user called Test
Seven differences between MySQL and Oracle: User Permissions: mysqloracle
User Permissions
No.
Category
ORACLE
MYSQL
Note
1
Create user
Create user user_name identified by
ORA-06575: the package or function NO_VM_DROP_PROC is invalid, wndproc FunctionSQL> drop user aaa; Drop user aaa ORA-00604: recursive SQL Level 1 errorORA-06575: the package or function NO_VM_DROP_PROC is invalidORA-06512: In line 21 SQL> alter
Oracle was first learned from the dept and emp tables under scott, and is still used to testing under scott. Sometimes sco needs to be rebuilt to facilitate testing
Oracle was first learned from the dept and emp tables under scott, and is still used
User ManagementTables in the MySQL database are no different from any other relational tables, and can be modified with typical SQL commands to modify their structure and data. You can use the GRANT and REVOKE commands. With these commands, users
Rebuild SCOTT users and SCOTT stories
Oracle was first learned from the dept and emp tables under scott, and is still used to testing under scott. Sometimes to facilitate testing, scott users need to be rebuilt to provide a completely new test
Using the certificate Deployment database (SQLSERVER2008R2) image in a non-domain environment prefaceDeploying database mirroring there are generally two ways to deploy a certificate deployment in a domain environment under http://liulike.blog.51cto.
We know that the dropuser with cascade will delete the tablespace and other associated database objects, which also indicates that the object to be deleted exists between the primary and external objects.
We know that the drop user with cascade will
Today, all MySQL slave replication from the server is abnormally interrupted, landed on one of the platform to execute show slave status\g, found the following error:--Last_error:error ' Operation DROP USER failed for ' guest ' @ ' localhost ' on
Http://blog.sina.com.cn/s/blog_7c855cf70100shrv.html
Oracle 11g and EM cannot be started. It may be because the IP address has changed. So I used the emca command to reconfigure Oracle em. The specific process is as follows:I: \ Documents ents and
Add and delete mysql users add and delete mysql Users
(Note: Because commands in the MYSQL environment are followed by a semicolon as the command Terminator)
Format: grant select on database. * to username @ login host identified by 'password'
MySQL Users and permission management in order to prevent the crawlers of unscrupulous websites from crawling articles, we hereby mark and repost the articles with the source. LaplaceDemon/SJQ
MySQL permission system overview
MySQL permission
A master-slave replication interruption caused by MySQL cross-database operations.
Today, all MySQL master-slave replication on the server is abnormally interrupted. log on to one of the platforms and execute show slave status \ G. the following
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.