Connecting to a Database


 Back to the main menu

 In order to work with a database and its tables, you must first be connected to it. The database connection screen appears at the start of the program.

  • Enter at least the host (IP or domain name). To connect to a local database, enter localhost or 127.0.0.1 as host.
  • If you enter a database, it will be selected when the connection to the server is established. Otherwise you can select one of the databases on the server afterwards.
  • If you enter no port, CocoaMySQL uses the default port.
  • Choose "Save to favorites..." in the favorites popup-button to save a connection. Passwords are stored in the Keychain. To edit favorites open the Preferences.
  • You can connect to multiple databases by opening a new window (Menu File > New)