Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database-connection.html 3.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <html>
  2. <head>
  3. <title>Typica - Data for Coffee Roasters</title>
  4. <link rel="stylesheet" type="text/css" href="../../style.css">
  5. </head>
  6. <body>
  7. <div id="page">
  8. <div id="topmatter">
  9. <div id="topbanner">
  10. <img src="../../logo96.png" height="96px" width="96px" alt="Typica logo" />
  11. <h1>Typica</h1>
  12. <h2>Data for Coffee Roasters</h2>
  13. </div>
  14. <div id="menu">
  15. <a class="tab" href="../../index.html">Project Home</a>
  16. <a class="tab" href="../../downloads.html" >Downloads</a>
  17. <a class="tab active" href="../../documentation.html" >Documentation</a>
  18. <a class="tab" href="../../screenshots.html" >Screenshots and Videos</a>
  19. <a class="tab" href="../../involvement.html" >Get Involved</a>
  20. <a href="http://appliedcoffeetechnology.tumblr.com/tagged/Typica" class="tab">Blog</a>
  21. </div>
  22. </div>
  23. <div id="maintext">
  24. <h1>Database Connection Settings</h1>
  25. <p>If database connection settings have not been previously configured or if an attempt to connect to the database with the current settings fails, Typica will show the Database Connection Settings window when the program is opened.</p>
  26. <img src="images/database-settings.png" />
  27. <p>Typica uses a database managed by PostgreSQL to store records relating to your coffee. It is possible to use a limited subset of functionality without a database, however much of the design of Typica assumes that a database is available.</p>
  28. <p>This window requests five pieces of information.</p>
  29. <ul>
  30. <li>Database driver: Currently, only PostgreSQL is supported.</li>
  31. <li>Host name: If you are running PostgreSQL and Typica on the same computer, this should be <em>localhost</em> as seen in the above image. It is possible to install PostgreSQL on a different computer on your local network or on the Internet and configure it to accept connections from the computers where you will be using Typica. In that case the host name might be an IP address (example: <em>192.168.1.50</em>) or a domain name (example: <em>typica.example.com</em>).</li>
  32. <li>Database name: PostgreSQL can manage multiple databases and each one has a name. PostgreSQL installers typically create a database named <em>postgres</em>. Typica can use this, however it is recommended to create a new database for Typica to use.</li>
  33. <li>User name: PostgreSQL database user names are distinct from system user names. PostgreSQL installers typically create a user called <em>postgres</em>. While Typica can use that user name, it is recommended to create at least one new user. If you create a new user, you will need to ensure that it has the necessary permissions on the database you will be using.</li>
  34. <li>Password: If you are using the user name <em>postgres</em> created by a PostgreSQL installer, you will have been asked to produce a password during installation. The password you chose will be the password to enter here. If you have created a new user, this will be the password associated with that user.</li>
  35. </ul>
  36. <p>Once all of this information has been entered, you can click the "Connect" button. Typica will close this window and attempt to connect to the database using the specified information. If this connection attempt fails, the window will reappear so you can verify the connection information, ensure that the database is accessible, and try again.</p>
  37. <p>If you do not wish to use a database, you can click the "Cancel" button. Note that if you do not connect to a database, Typica will bring this window up again the next time you start the program.</p>
  38. <h1>What Happens Next?</h1>
  39. <p>After Typica has connected to the database or you have pressed "Cancel" Typica will bring up one of two windows.</p>
  40. <ul>
  41. <li><a href="open-configuration.html">Open Configuration File</a></li>
  42. <li><a>Choose Your Path</a></li>
  43. </ul>
  44. </div>
  45. </div>
  46. </body>
  47. </html>