atpy/atpy — Issue #33: Can't write bool data to MySQL
Author: cdeil
Created: 2011-10-23 01:51:58+00:00
State: open

```
t = Table(name='atpy')
t.add_column('bool', np.zeros(2, 'bool'))
t.write('mysql', ...)
```
results in ```KeyError: ```, although MySQL can store BOOL data.

I have the same problem (having to convert by hand) with unicode string columns, e.g.

```
t.add_column('unicode', [u'uni', u'code'])
```

results in

```
KeyError:
```

although with unicode I'm not 100% sure if this should work with MySQL.