我在Docker容器中运行MySQL 8.0以进行本地开发. Web容器可以很好地连接到MysqL.当试图从Sequel Pro访问我的数据库时,容器给我一个错误,
db_1 | mbind:不允许操作
应该注意的是,连接MysqL Workbench不会导致容器抛出该错误,但它也没有完全连接.它确实显示数据库和表,但无法查询表.我在下面列出了Sequel Pro的错误.
NSInvalidArgumentException
-[_NSInlineData isEqualToString:]: unrecognized selector sent to instance 0x608000039740
(
0 CoreFoundation 0x00007fff3cae52fb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff63452c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3cb7dda4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff3ca5b670 ___forwarding___ + 1456
4 CoreFoundation 0x00007fff3ca5b038 _CF_forwarding_prep_0 + 120
5 Sequel Pro 0x000000010002fce3 -[SPDatabaseDocument setDatabases:] + 783
6 Sequel Pro 0x000000010002f2a9 -[SPDatabaseDocument setConnection:] + 610
7 Foundation 0x00007fff3eb56985 __NSThreadPerformPerform + 334
8 CoreFoundation 0x00007fff3ca7d821 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
9 CoreFoundation 0x00007fff3cb374cc __CFRunLoopDoSource0 + 108
10 CoreFoundation 0x00007fff3ca602c0 __CFRunLoopDoSources0 + 208
11 CoreFoundation 0x00007fff3ca5f73d __CFRunLoopRun + 1293
12 CoreFoundation 0x00007fff3ca5efa3 CFRunLoopRunSpecific + 483
13 HIToolBox 0x00007fff3bd7e866 RunCurrentEventLoopInMode + 286
14 HIToolBox 0x00007fff3bd7e5d6 ReceiveNextEventCommon + 613
15 HIToolBox 0x00007fff3bd7e354 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 AppKit 0x00007fff3a07ba23 _DPSNextEvent + 2085
17 AppKit 0x00007fff3a810e6c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
18 AppKit 0x00007fff3a070831 -[NSApplication run] + 764
19 AppKit 0x00007fff3a03f9d2 NSApplicationMain + 804
20 Sequel Pro 0x0000000100002454 start + 52
)
最佳答案
原文链接:https://www.f2er.com/docker/436120.html