Langsung ke konten utama

Postingan

Menampilkan postingan dari Februari, 2020

Adding a MySQL user when no MySQL users have admin rights

Adding a MySQL user when no MySQL users have admin rights https://serverfault.com/questions/264170/adding-a-mysql-user-when-no-mysql-users-have-admin-rights There is something interesting to note about MySQL when using skip-grant-tables. Once you restart mysqld with skip-grant-tables, you cannot use GRANT and REVOKE commands. Option 1) UPDATE password for root@localhost; You could do this: UPDATE mysql.user SET password=PASSWORD('whateverpasswordyouwant') WHERE user='root' and host='localhost'; then restart mysqld. Option 2) You could INSERT a record directly into mysql.user. If you want to establish a new user for your self called superuser, you must do the following (this works for MySQL 5.5): INSERT INTO mysql.user SET Host = 'localhost', User = 'superuser', Password = PASSWORD('whateverpasswordyouwant'), Select_priv = 'Y', ...

Recover MySQL root Password

Recover MySQL root Password https://www.cyberciti.biz/tips/recover-mysql-root-password.html   Y ou can recover MySQL database server password with following five easy steps. Step # 1: Stop the MySQL server process. Step # 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for password. Step # 3: Connect to mysql server as the root user. Step # 4: Setup new mysql root account password i.e. reset mysql password. Step # 5: Exit and restart the MySQL server. Here are commands you need to type for each step (login as the root user): Step # 1 : Stop mysql service # /etc/init.d/mysql stop Output: Stopping MySQL database server: mysqld. Step # 2: Start to MySQL server w/o password: # mysqld_safe --skip-grant-tables & Output: [1] 5988 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[6025]: started Step # 3: Connect to mysql server using mysql client: # mysql -u root Output: Welc...

COGNOS10 - User interface elements that you can hide in IBM® Cognos® Connection.

User interface elements that you can hide in IBM® Cognos® Connection. https://www.ibm.com/support/knowledgecenter/en/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.ug_cra.10.2.2.doc/c_elementsyoucanhide.html The following table describes the user interface elements that you can hide in IBM® Cognos® Connection. Items starting with CRN and CC indicate IBM Cognos Connection user interface elements. Items starting with RV indicate IBM Cognos Viewer elements. For more information, see  Hide User Interface Elements . Table 1. User interface elements that you can hide User Interface Element Description <CRN_HEADER/> The IBM Cognos Connection top header (h1) <CRN_HEADER _TITLE/> Left-hand side of the IBM Cognos Connection top header (h1) <CRN_HEADER_OPTIONS/> Right-hand side of the IBM Cognos Connection top header (h1) <CRN_HEADER_ LAUNCH/> The  Launch  menu in the upper-right corner of Cognos Connection <CRN_HEADER_USERNAME/...