Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
After you've done this, you got a file named <small>my.diff</small>.
Inside it you got the code which you need to add inside your inside script. :)
 
== hda-create-db-and-user utility script ==
 
Utility Script for creating a MySQL database and user for accessing the newly created database.
 
<small>
Usage: hda-create-db-and-user [options] dbname
 
-u, --user=name Specifies the user name to use.
Default: dbname@localhost
-d, --drop Drops the user and the DB.
Default: dbname@localhost
 
-h, --help Show this help message.
</small>
 
By default: the database, the user and the user's password are '''all''' the same. The user is always username@localhost.
 
Example:
To create a database named foo '''<small>hda-create-db-and-user foo</small>'''
 
To drop the same database '''<small>hda-create-db-and-user -d foo</small>'''
 
 
Have fun creating your apps. If you need something ask at IRC :)
301

edits