databaseName="MCP"
sudo echo "Enter root database password for the following. (Hit enter if blank)"
echo MCPServer
sudo mysql -p --execute="source ../src/MCPServer/share/mysql" "$databaseName"
echo transcoder
sudo mysql -p --execute="source ../src/transcoder/share/mysql" "$databaseName"


databaseName="MCP"
currentDir="$(dirname $0)"

echo "Enter root database password for the following. (Hit enter if blank)"

echo MCPServer
mysql -u root -p --execute="source $currentDir/../src/MCPServer/share/mysql" "$databaseName"

echo transcoder
mysql -u root -p --execute="source $currentDir/../src/transcoder/share/mysql" "$databaseName"

Use current dir and get rid of sudo
Use current dir and get rid of sudo

Autoconverted from SVN (revision:1692)
