How to secure my database on centos server - centos

I done my project and deploy on centos. i have craeted a encrypted database but on lamp sever database shows the password.when i run on wamp all the data of database is encrypted but when i use commands on server its show me the passwords.any one kindly help me in this regards,i dont have any advanced idea of databases security.thanks in advance

Related

Issues with connecting MySQL workbench with 1and1 Web Server MySQL DB

I have paid for a web server at 1and1.
And I decided to use MySQL WorkBench.
It asked for cred. in MySQL Workbench.
Logging in phpMyAdmin I have the following information to use when making mySQL connection code.
Server: dbxxxxxxxx.db.1and1.com via TCP/IP
Server type: MySQL
Server version: 5.5.59-0+deb7u1-log - (Debian)
Protocol version: 10
User: dboxxxxxxxxx#00.00.00.00
Server charset: UTF-8 Unicode (utf8)
In MySQL Workbench
I place Hostname with dbxxxxxxxx.db.1and1.com
And username as dboxxxxxxxxx#00.00.00.00
And store the password in the vault.
when testing the connection I get this message.
Connecting to MySQL server ...
Unknown MySQL server host 'dbxxxxxxxx.db.1and1.com' (0)
The DB works fine via the website.
I tried keeping username as root, using the username without the '#', but to no avail.
If you have any experience that you can shed light on what I am doing wrong or not paying attention to, that would be much appreciated.
Because you have a shared server, and for security reason they wont allow to access through third party app. If you want to access through third party app you should change your server plan.

Entity Framework - I want the database to be created on a different SQL Server

My EF tutorial project works fine on a machine with SQL Server installed, but when I move the project to a machine with no SQL Server installed, the code below fails:
Database.SetInitializer(new DropCreateDatabaseAlways<EmployeeDb>());
I'd like to get the project working on a machine which has only the SQL Server client not the server. I've experimented with connection strings in app.config without success. Help much appreciated.
you have install SQL server in separate machine and configure to connect from other systems and put that machine name(or IP address) in connection string.
Configure the Windows Firewall to Allow SQL Server Access
how-to-enable-remote-connections-in-sql-server-2008

Access oracle database from another system?

Is it possible to access my oracle database from a separate system, other than the one on which the database is stored?
If yes, then how?
You can access the tables of a distant database by using your_table#your_database if you configured it properly.
Yes you can access your database which is on one machine( SERVER) from other machine (CLIENT). You need to install oracle client software on the CLIENT machine and then you can establish a connection to the server database through network . You have to use sqlplus to connect or if you are using windows then you can use tools like toad which will establish a connection between your client machine and database server machine .

Connection to CloudBees database using MySQL Workbench

I've just uploaded my locally developed app to CloudBees. It works fine: I can load the web pages and it can access the database.
However, I cannot connect to its database (also provided by CloudBees) using MySQL Workbench or the command line tool. It always says
Can't connect to MySQL server on 'ec2-50-19-213-178.compute-1.amazonaws.com' (10060)
Any CloudBees configuration that I might be missing?
double check your database connection parameters using SDK : bees db:info -p <databasename>
you should be able to connect to DB using mysql workbench and other mysql tools.
In the MySQL forum exists a collection of links for various types of connections using MySQL Workbench. One is probably especially interesting for you as it deals with Amazon RDS databases. Among others it shows what connection parameters are needed.
Seems that there were some firewall problems in the corporate router that prevented me from connecting before. I tried at home and it worked.

JBOSS AS 7 Database internal

1 and i'm connected to intern database java:jboss/datasources/ExampleDS
i want to browse the data like sql in tables etc. in the administration console of jboss
but there is no such option in Administration menu or can someone help me on how to browse data? Or is there some other tool on this?
Database has nothing to do with application server. First you have to find out what database server is datastore ExampleDS using. Then connect to that server. Example: if ExampleDS uses Mysql on 192.168.1.1:3306 you have to use some Mysql client (Mysql workbanch) to connect to that server. There you can see actual tables.