Provide installation option for precreated mysql database

My issue votes
0
votes
0/20 total votes used
Project:Kaltura Community Edition (CE) - Self Hosted Online Video Platform
Version:Cassiopeia
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Total votes:6
Description

Hello,

when installing Kaltura C3 V3.0.0 the installation script does ask for mysql host, port, user and pass, BUT it does not ask for the database name. This can be under certain circumstances different from the default 'kaltura'. Also the first query in the db is to create it, which will fail if the DB has been allready created before. Could you please change the install script in such a way that it would:

1. Ask for a db name (with default 'kaltura' if not provided)
2. Either check, or ask, if the db needs to be created (in case it is created, just copy the data into it, otherwise create it first)

thanks!

ps. also could you please hide the db password from the installation logs ??? i can imagine many people upload the logs because of some errors and forget to sanitize the passes. In the first case i think they should *not* be written out into the logfile.