Data integrity, confidentiality and authenticity, are the most valuable resources in today's digital world. As technology advances and data are being exchanged via the internet, several measures are being created to prevent unauthorised access to data. Various security models have been developed for databases, each concentrating on a different part of the database security challenge or exploring alternative conclusions about what defines a secure database. Database security refers to the measures that protect the database from intentional or unintentional risks, unauthorised users, hackers, and IP snoopers. Because the organisation requires the safety of the data in the database, a security method to protect the database is required. This paper proposes a hybrid concept known as cryptography with a genetic algorithm to provide greater security for the database. The encryption part uses a genetic algorithm along with the default authentication, which has a user id and password for the database. The database securely encrypts data in every field, stored in encrypted form. Therefore, when accessing encrypted data, the database asks for the key value to decrypt the data. So this acts as dual protection for the database, which makes the proposed technique more secure than the traditional technique. Deleting and updating the records can be done, creating new records or even database operations.