anonymous / gist:3964948
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:3964948
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
$ mysql --user=web145-mydb --password=mypassword
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 664083
Server version: 5.1.52 Source distribution
 
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
| web145-mydb |
+--------------------+
4 rows in set (0.00 sec)
 
mysql>
 
$ cat application.ini
resources.view[] =
resources.db.adapter = PDO_MYSQL
resources.db.params.host = localhost
resources.db.params.username = web145-mydb
resources.db.params.password = mypassword
resources.db.params.dbname = web145-mydb
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.