The past few months, I've been developing a course on the concepts of cloud computing and virtualization. It's coming along very well, and this week I've been working on a demo for an application in the cloud that uses a database located elsewhere in the cloud (i.e. on another virtual server). I'd thought I share the steps with you. I used MySQL, but the steps should be similar for other databases.
- Install MySQL on the server.
- Create a new user for MySQL:
create user USERNAME identified by 'PASSWORD';
- Grant the user access to the database:
grant all privileges on DATABASE.* to …