Created
October 27, 2012 14:51
-
-
Save anonymous/3964948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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