LoginSignup
0
1

More than 5 years have passed since last update.

Sequel ProでローカルのMySQLに接続しようとすると'NSPlaceholderString initWithString'というエラーが出る

Posted at

MacからSequel Proでローカルのmysqlサーバにログインしようとすると
エラーが出て、Detailをクリックすると、以下のように表示される。

NSInvalidArgumentException

*** -[NSPlaceholderString initWithString:]: nil argument

(
    0   CoreFoundation                      0x00007fff8e42503c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff99e4076e objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8e424eed +[NSException raise:format:] + 205
    3   Foundation                          0x00007fff908182dc -[NSPlaceholderString initWithString:] + 102
    4   Sequel Pro                          0x000000010002e6a9 -[SPDatabaseDocument setConnection:] + 384
    5   Foundation                          0x00007fff9086bd00 __NSThreadPerformPerform + 293
    6   CoreFoundation                      0x00007fff8e341a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    7   CoreFoundation                      0x00007fff8e333b8d __CFRunLoopDoSources0 + 269
    8   CoreFoundation                      0x00007fff8e3331bf __CFRunLoopRun + 927
    9   CoreFoundation                      0x00007fff8e332bd8 CFRunLoopRunSpecific + 296
    10  HIToolbox                           0x00007fff91e8356f RunCurrentEventLoopInMode + 235
    11  HIToolbox                           0x00007fff91e832ea ReceiveNextEventCommon + 431
    12  HIToolbox                           0x00007fff91e8312b _BlockUntilNextEventMatchingListInModeWithFilter + 71
    13  AppKit                              0x00007fff927469bb _DPSNextEvent + 978
    14  AppKit                              0x00007fff92745f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    15  AppKit                              0x00007fff9273bbf3 -[NSApplication run] + 594
    16  AppKit                              0x00007fff926b8354 NSApplicationMain + 1832
    17  Sequel Pro                          0x0000000100001994 start + 52
    18  ???                                 0x0000000000000002 0x0 + 2
)

Sequel Proのバグでした。
mysqlをアップグレードすると直ります。

mysqlをアップグレード
$ mysql_upgrade -u root -p
$ sudo mysql.server restart
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1