KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to Enable the SQL server
PRODUCT: 4D Developer | VERSION: 11 | PLATFORM: Mac & Win
Published On: June 4, 2008

Similar to the Web server, the built-in SQL server in 4D v11 SQL can be enabled in a variety of ways:

Automatically launch SQL server at startup:

-Go to the preferences.
-Select the theme SQL.
-Enable the checkbox "Launch SQL Server at Startup".

The next time 4D starts, the SQL server will be running.

Manually in the Design environment:

-Select "Start SQL Server" item from the Run menu.

Programmatically starting the server:

-Execute the command START SQL SERVER in your method.


Commented by Luis on July 17, 2009 at 5:19 PM
When running 4D Server another way to start the SQL Server is from the 4D Server Administration window.
Select the SQL Server tab and click on Start SQL Server.