how can you create a mysql database or is there a way to create a database when all you have is an ftp access?
You will need either access via shell with mysql user/password, or access to phpmyadmin, which would also be a separate login from ftp in almost all cases.
If you obtain "ssh":
[[email protected] public]$ mysql -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.0.77 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> create database wht;
Query OK, 1 row affected (0.00 sec)
mysql> use wht;
mysql> show tables;
Empty set (0.00 sec)