Title: MySQLdb reflection error · Issue #29 · unalloc/sqlautocode · GitHub
Open Graph Title: MySQLdb reflection error · Issue #29 · unalloc/sqlautocode
X Title: MySQLdb reflection error · Issue #29 · unalloc/sqlautocode
Description: What steps will reproduce the problem? 1. Upgrade sqlautocode to 0.6b1 2. run sql autocode on a mysql database. For example: ------------------------------------------------------------------------ $ sqlautocode mysql://user:pass@localho...
Open Graph Description: What steps will reproduce the problem? 1. Upgrade sqlautocode to 0.6b1 2. run sql autocode on a mysql database. For example: ------------------------------------------------------------------------...
X Description: What steps will reproduce the problem? 1. Upgrade sqlautocode to 0.6b1 2. run sql autocode on a mysql database. For example: ------------------------------------------------------------------------...
Opengraph URL: https://github.com/unalloc/sqlautocode/issues/29
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MySQLdb reflection error","articleBody":"```\nWhat steps will reproduce the problem?\n1. Upgrade sqlautocode to 0.6b1\n2. run sql autocode on a mysql database. For example:\n------------------------------------------------------------------------\n$ sqlautocode mysql://user:pass@localhost/db_name\nStarting...\nTraceback (most recent call last):\n File \"/mnt/md0/www/tg2/tg2env/bin/sqlautocode\", line 9, in \u003cmodule>\n load_entry_point('sqlautocode==0.6b1', 'console_scripts', 'sqlautocode')()\n File \"/mnt/md0/www/tg2/tg2env/lib/python2.6/site-packages/sqlautocode-0.6b1-py2.6.egg/sqlautocode/main.py\", line 41, in main\n reflection_schema = db.dialect.get_default_schema_name(conn)\nAttributeError: 'MySQLDialect_mysqldb' object has no attribute \n'get_default_schema_name'\n-------------------------------------------------------------------------\n\nWhat is the expected output? What do you see instead?\nModel definitions should have been generated, instead I get error.\n\nWhat version of the product are you using? On what operating system?\nsqlautocode 0.6b1, sqlalchemy 0.6.5, MySQLdb 1.2.3, Linux 2.6.35.7\n\nThis error wasn't there in the previous version as I used that version after \npatching it (for sqlalchemy 0.6) to generate SQLAlchemy models for the same \ndatabase.\n\n Regards,\n\nKashif.\n\n\n```\n\nOriginal issue reported on code.google.com by `a10n3.s7r1k3r@gmail.com` on 3 Nov 2010 at 10:32\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2015-12-02T03:31:34Z","url":"https://github.com/unalloc/sqlautocode/issues/29"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2993fddc-dfb3-b2b0-9632-5ae516cba979 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDA6:107A1:4700CF:5D0438:6B061CD3 |
| html-safe-nonce | b9664e28aa5cda38aa477155d09dda038be9dff5da36c77f47d8b1eade1b4f09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREE2OjEwN0ExOjQ3MDBDRjo1RDA0Mzg6NkIwNjFDRDMiLCJ2aXNpdG9yX2lkIjoiNTYwNzY5MjQ1NzAxODcyODUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eb5d09add36e5048cdbcfac126517a082d1b11657a5cd3ecb64837d8ae80c056 |
| hovercard-subject-tag | issue:119859497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unalloc/sqlautocode/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d7c294e61d98bf3debae08f11432871398b577de89504db2a1723c00b40071c/unalloc/sqlautocode/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d7c294e61d98bf3debae08f11432871398b577de89504db2a1723c00b40071c/unalloc/sqlautocode/issues/29 |
| og:image:alt | What steps will reproduce the problem? 1. Upgrade sqlautocode to 0.6b1 2. run sql autocode on a mysql database. For example: ------------------------------------------------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/unalloc/sqlautocode git https://github.com/unalloc/sqlautocode.git |
| octolytics-dimension-user_id | 2229516 |
| octolytics-dimension-user_login | unalloc |
| octolytics-dimension-repository_id | 47234827 |
| octolytics-dimension-repository_nwo | unalloc/sqlautocode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 47234827 |
| octolytics-dimension-repository_network_root_nwo | unalloc/sqlautocode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width