We are using AWS SCT tool to migrate Oracle database to MariaDB.
We have given the required permission on Oracle database after reading from below
https://docs.aws.amazon.com/SchemaConversionTool/latest/userguide/CHAP_Source.Oracle.html
Haven't find the what are permission required in MariaDB as target. Found MariaDB as source https://docs.aws.amazon.com/SchemaConversionTool/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.Connecting
We are able to add Oracle as source in AWS SCT but while adding MariaDB as target we are getting below error :
The specified account (testPermission) does not have sufficient privileges for working with the following object(s):
MariaDB Server : [SELECT, SHOW VIEW]
Permission on MariaDB (output of SHOW GRANTS FOR CURRENT_USER();)
GRANT USAGE ON *.* TO `<username>`#`%` IDENTIFIED BY PASSWORD '<password>'
GRANT ALL PRIVILEGES ON `<databasename>`.* TO `<username>`#`%`
Can you help me here what extra permission required in MariaDB?
Thanks in advance.
Related
I upgraded my mariadb from 10.1 to 10.9 pointing to same data directory (checked ownership of files also). But when I try to access the mysql instance with existing users from different hosts (which used to work before upgrade), I get:
mysql --host <hostname> --port <port> -uusername -p<pwd>
ERROR 1045 (28000): Access denied for user 'username'#'ip' (using password: YES)
I tried flushing privileges & reloading mysql but nothing worked.
When I see the user * db information in mysql.user & mysql.db tables, everything is same pre & post upgrade.
Though I am able to remotely access mysql using root user. But other user don't work.
Also there are some users which are created as a part of init script (used in --init-file={} while starting up mariadb), I am not able to access using those users also. Only root user is working.
Please help what can be the problem.
Thanks In advance.
I'm on step 6 database setup on the installation tutorial and I've been encountering this error.
Error 1045 (28000): Access Denied for user 'acore'#'localhost (using password: YES)
Insert mysql user:
So this happens after I run bash apps/db_assembler/db_assembler.sh in the root of my folder as per told to. I've checked over everything to make sure the mysql user is acore and password to acore by default. I'm not changing it as this is only gonna be a LAN server, therefore there is no need to.
However I get this error so I enter
insert mysql user:acore
then it asks for my pass
insert mysql pass:
I try to enter it but it won't let me as shown in pic 1, I then press enter getting the error shown in pic 2
Command Ran: bash apps/db_assembler/db_assembler.sh
Important Info: OS: Windows 10 Home Edition, MySQL version 5.6.
Image of Error 1
Image of Error 2
Your SQL server must have user "acore" and you must grant access to "auth", "characters" and "wold" tadabases for this user.
If it is correct, check access to SQL servrer's port at firewall.
Using the OrientDB Console.bat for manage oreient-db databases shows some inconsistent behaviour.
1) I created a new db named demox using the below command :
orientdb> create database plocal:../databases/demox root root plocal graph
Creating database [plocal:../databases/demox] using the storage type [plocal]...
2018-04-12 19:10:26:775 INFO Storage 'plocal:../databases/demox' is
created under OrientDB distribution : 2.2.33 (build 77584cd6827f647cf4aa231cf27bd6f10bc04e2c, branch 2.2.x)
Database created successfully.
Current database is: plocal:../databases/demox
2) Next i try to run the drop database command and it errors out saying invalid username or password
orientdb {db=demox}> drop database plocal:../databases/demox root root
Error: com.orientechnologies.orient.core.exception.OSecurityAccessException: User or password not valid for database: 'demox'
DB name="demox"
orientdb {db=demox}>
However If you see the credentials used in step1 and step2 both are same.
I am not sure where the issue is , or am i missing something in the drop database command.
Why would the console error out even when i am using the same credentials for drop-database command as the one i have used while creating the database
use the same command but with the credentials of admin (user:admin pass:admin)
drop database plocal:../databases/demox admin admin
If you have any more questions about this feel free to ask.
I recently installed oracle 11g enterprise manager version
first of all, the orcl would not work when I lunched it on internet explorer
<error:cannot find page>
I checked the status of dbconsole from SERVICE folder..(Started)
was able to gain access to sqlplus with my log in details
after a few weeks I couldn't gain access anymore with the same login details
I tried the following codes but still could not gain access
sqlplus/nolog
sql>connect / as sysdba
sql>desc dba_users
sql>select username,password from dba_users;
sql>desc dba_users(error: object dba_users does not exist)
sql>select username,password from dba_users;(error: database not open)
ALTER DATABASE OPEN READ ONLY;( error: database not mounted)
You need to startup the database.
e.g.
. oraenv
SID
sqlplus / as sysdba
startup
i am a newbie to ldap and i am facing an issue while accessing openldap server with jxplorer. I am running openldap on my laptop with windows 7 OS. I have configured the openldap with the BDB database. When i try accessing the ldap server from jxplorer, i get an error that says
unable to list dc=maxcrc,dc=com.
unable to perform read entry operation.
In the slapd.conf file, the below entries are present.
database bdb
suffix "dc=maxcrc,dc=com"
rootdn "cn=Manager,dc=maxcrc,dc=com"
And also when i try adding entries in the ldap, it fails saying,
"Unable to perform modify operation".
I went through the openldap readme PDF file, but of no help.
Any suggestions
Quick help would be greatly appreaciated :) Thanks in advance
Below is the error details which i saw:
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=maxcrc,dc=com'.