Skip to content
Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:3964948

$ 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)
$ cat application.ini
resources.view[] =
resources.db.adapter = PDO_MYSQL = 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.