{ "info": { "author": "Zope Corporation and Contributors", "author_email": "zope-dev@zope.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "This files helps you installing the MySQL Database adapter in Zope 3\nIn this document I'm assuming your Zope3 lives in ~/Zope3.\n\nInstalling mysqldbda\n\n 1. Check out the mysqldbda product into ~/Zope3/src\n\n cd ~/Zope3/src\n cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository login\n cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository checkout \\\n mysqldbda\n\n 2. Create a file named 'mysqldbda-configure.zcml' inside\n ~/Zope3/package-includes with the following contents:\n\n \n\nCreating Database Connections\n\n It is time to add some connections. A connection in Zope 3 is\n registered as a utility.\n\n 3. Open a web browser on your Zope root folder (http://localhost:8080/ if\n you use the default settings in zope.conf.in).\n\n 4. Click on the 'Manage Site' action on the right side of the\n screen. You should see a screen which reads 'Common Site\n Management Tasks'\n\n 5. Around the middle of that page, you should see a link named 'Add\n Utility'. Click on it.\n\n 6. Select 'MySQL DA' and type in a name at the bottom of the page.\n\n 7. Enter the database connection string. It looks like this:\n\n dbi://username:password@host:port/databasename\n\n 8. Click on the 'Add' button.\n\n 9. You should be on a page which reads 'Add Database Connection\n Registration'. There you can configure the permission needed to\n use the database connection, the name of the registration and the\n registration status. You can use any name for 'Register As'\n field, as long as it doesn't clash with an existing one. Choose a\n permission. Choose between 'Registered' and 'Active' for the\n 'Registration Status'. Only one component of a kind can be\n 'Active' at a time, so be careful.\n\n 10. You should be redirected to the 'Edit' screen of the connection\n utility.\n\n 11. If you want to, you can go to the Test page and execute arbitrary SQL\n queries to see whether the connection is working as expected.\n\nUsing SQL Scripts\n\n You can create SQL Scripts in the content space. For example:\n\n 12. Go to Zope root.\n\n 13. Add an SQL script (you can use the Common Tasks box on the left, or\n the Add action on the right).\n\n 14. Click on the name of your new SQL script.\n\n 15. Choose a connection name (the one you entered in step 29) from the\n drop-down.\n\n 16. Enter your query and click on the 'Save Changes' button.\n\n 17. You can test the script in the -- surprise! -- Test page.\n\nDetailed Dcoumentation\n======================\n\n\n=======\nCHANGES\n=======\n\n1.0.2 (2008-05-06)\n------------------\n\n- Made sure that __stringConverter gets (re)set only when needed\n (only on encoding change) otherwise it just bloats ZODB\n\n\n1.0.1 (2008-02-20)\n------------------\n\n- Package eggification", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/mysqldbda", "keywords": "mysql database adapter", "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "mysqldbda", "package_url": "https://pypi.org/project/mysqldbda/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mysqldbda/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/mysqldbda" }, "release_url": "https://pypi.org/project/mysqldbda/1.0.2/", "requires_dist": null, "requires_python": null, "summary": "MySQL Database adapter", "version": "1.0.2" }, "last_serial": 683107, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "10705d0258f6e0678cced1482f993a8b", "sha256": "ee05e1c7114fd869f611bf06e93e7a7f3658e27e4d307571d62267483fc33230" }, "downloads": -1, "filename": "mysqldbda-1.0.1.tar.gz", "has_sig": false, "md5_digest": "10705d0258f6e0678cced1482f993a8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6048, "upload_time": "2008-02-20T11:21:11", "url": "https://files.pythonhosted.org/packages/05/58/50b310efd2cf3a0266f084436c4143e0b483ca863045d4fadccfc84ae582/mysqldbda-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1c898a4d6b9a192346f8393db2e00656", "sha256": "f4e7c0afeec786246401ec1efcf88cb700014a1dcbfbe50842249a6a1de59226" }, "downloads": -1, "filename": "mysqldbda-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1c898a4d6b9a192346f8393db2e00656", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6806, "upload_time": "2008-05-06T14:23:31", "url": "https://files.pythonhosted.org/packages/d7/24/be8c174037ffb4e6d5034babe0b350558973260437b3f7fbc1f6aeb31cd1/mysqldbda-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1c898a4d6b9a192346f8393db2e00656", "sha256": "f4e7c0afeec786246401ec1efcf88cb700014a1dcbfbe50842249a6a1de59226" }, "downloads": -1, "filename": "mysqldbda-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1c898a4d6b9a192346f8393db2e00656", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6806, "upload_time": "2008-05-06T14:23:31", "url": "https://files.pythonhosted.org/packages/d7/24/be8c174037ffb4e6d5034babe0b350558973260437b3f7fbc1f6aeb31cd1/mysqldbda-1.0.2.tar.gz" } ] }