I have a java web application with a Mysql relational database. I would like that only the web application could access, write and delete data in the database and prevent direct changes to database even by the administrator of the database.
Is it possible?
It's impossible to stop Database administrator to access a database in MySQL. As I know, only Oracle Database Vault can do that.
Related
I want to allow MYSQL connectivity to business users on tableau without creating a DB user i.e. without allowing direct access to the database through the MYSQL workbench.
right now I have a MySQL user with grant access on only one database to connect through tableau. But business users can use this user to explore data through workbench and run queries, which is not ideal.
Is there a way to give MYSQL database access ONLY on tableau and not any database tools like workbench?
There is not such an option for it. But you can create/define user roles with restrictions on DB/table levels in MySQL or you can create two database(on same machine or another machine), one is Main(Primary) and other one for Tableau only, so if any Tableau users access the new(separate) database from any other application, they will have limited data(only which is using for Tableau dashboards).
So I found a solution for this and here it is, in case someone else has this issue.
I just published a live connection to my database table on tableau server, and embedded user credentials in tableu. This way anytime a user wants to use the data source they just need to select from published data sources. But we wont have to share user credentials with them, that resolves the issue and they wont be able to log in using any credentials from any database client.
I'm a front-end web developer trying to devise a solution to sync a Microsoft Access Database on a local network with a MySQL database on a web server. I ran across some software that might perform this however it looks complicated to maintain and seems like it could be an additional point of failure.
There is also a way MS Access can use an ODBC to an external MySQL database. https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-examples-tools-with-access-linked-tables....
If the ODBC connection to the external MySQL database works, is there a way to sync an external DB table with a local DB table so when a change occurs with one it's pushed to the other?
Or is there another recommendation to handle this process?
Thank you.
Basically the short story is we have a report generator running on a MySQL database at work and management wants me to modify things so we can connect to tables in an external Access database from this report generator as well. And then create reports that join tables from the MySQL database to the Access database. I suggested exporting the data from Access and importing it into MySQL but they want a live, real-time connection. To complicate things further these are both on different servers right now (MySQL on Linux, Access on Windows) and I'm not sure that can be changed.
I tried to look this up online but all I could find is ways to connect to MySQL from Access, not the reverse.
Is what we are trying to do even possible, and if so, can someone point me in the right direction?
I'm attempting to create a MySQL database and administrator user to this database and I intend on hosting the database on one.com. I noticed that in other webhosts e.g. bluehost, the option of creating a MySQL database and a user is available but this is not available on one.com.
My question is how does someone using code create a MySQL database and user which can be hosted on a webhost in my case one.com?
Any ideas are appreciated.
Thanks.
Most hosting providers use CPanel or ZPanel for providing services to their clients. Both the panels come with services that allow creation of a database and assigning an user to the database.
It is possible to query MySQL to do the same, but hosting providers always restricts the clients from direct querying of their database servers.
Just created a database in my own MySQL server. Now I want to transfer the data from my MySQL server to one of my friend's MySQL server.
Any idea how this can be done?
Also, how would I do this if I use oracle server?
If you have an access to his database - you can create dblink
Otherwise you have to export a dump and send it to your friend.
I have had to copy full databases (as well as just selected tables) between servers before and a SQL dump can be cumbersome if you have a lot of data. If you have access to both servers you might consider an application called "Navicat". It is a MySQL GUI interface to manage databases.
You can have multiple databases on separate servers open at the same time, and can even "drag and drop" tables between databases and databases between servers.