Special / Experimental Installations: Difference between revisions

From nuBuilderForte
Jump to navigation Jump to search
(Created page with "== Replace MySQL with MSSQL for nuBuilder 4.5 == * This is a very new experimental work-in-progress. * Attempt this only if proficient in the MSSQL PDO stack with PHP. * [http...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:
# Create a database '''nubuilder4''' in MSSQL Server
# Create a database '''nubuilder4''' in MSSQL Server
# Run the script '''nubuilder4_mssql.sql''' (if your db has a different name, search & replace in the script)
# Run the script '''nubuilder4_mssql.sql''' (if your db has a different name, search & replace in the script)
# If XAMPP is used, [https://stackoverflow.com/questions/32978554/how-to-configure-xampp-to-use-with-mssql configure it for MSSQL]
# Modify '''<tt>nuconfig.php</tt>''':
# Modify '''<tt>nuconfig.php</tt>''':
<pre>
<pre>


     $nuConfigDBDriver = "sqlsrv";         //-- mysql (MySQL, MariaDB) or sqlsrv (MSSQL)
     $nuConfigDBDriver = "sqlsrv"; //-- MSSQL ( mysql for MySQL/MariaDB )
     $nuConfigDBPort = "1433";               //-- MSSQL Port
     $nuConfigDBPort = "1433";     //-- MSSQL Port
     $nuConfigDBHost = "DESKTOP-xyz\SQLEXPRESS"; //-- Server Name
     $nuConfigDBHost = "DESKTOP-xyz\SQLEXPRESS"; //-- Server Name


</pre>
</pre>
# If XAMPP is used, [https://stackoverflow.com/questions/32978554/how-to-configure-xampp-to-use-with-mssql configure it for MSSQL]
 
== Installation on Synology NAS ==
* [https://forums.nubuilder.cloud/viewtopic.php?f=23&t=10901 Forum Post]
* Install Apache HTTP Server, MariaDB, PHP, phpMyAdmin, Web Station, pdo_mysql (php extension)
* [https://stackoverflow.com/questions/23059697/undefined-class-constant-mysql-attr-init-command-in-undefined-class-constant MySQL Attr INIT Command] will be useful
 
== References ==
* [https://forums.nubuilder.cloud/viewforum.php?f=30 nuBuilder for MSSQL Discussions]
* [https://forums.nubuilder.cloud/viewtopic.php?f=30&t=10884 Forum Topic] - Install instructions discussion
* [https://forums.nubuilder.cloud/viewtopic.php?f=30&t=10886 Forum Topic] - MSSQL Migration progress

Latest revision as of 09:53, 29 January 2022

Replace MySQL with MSSQL for nuBuilder 4.5

  • This is a very new experimental work-in-progress.
  • Attempt this only if proficient in the MSSQL PDO stack with PHP.
  • smalos/nuDev repo has the codebase as of Commit #301.

Install Instructions

  1. Download the codebase
  2. Install SQL Server 2019 Express if you haven't got an SQL Server running yet.
  3. For Database management, download and install SQL Server Management Studio (SSMS) or use Adminer instead of phpMyAdmin
  4. Create a database nubuilder4 in MSSQL Server
  5. Run the script nubuilder4_mssql.sql (if your db has a different name, search & replace in the script)
  6. If XAMPP is used, configure it for MSSQL
  7. Modify nuconfig.php:

    $nuConfigDBDriver = "sqlsrv"; //-- MSSQL ( mysql for MySQL/MariaDB )
    $nuConfigDBPort = "1433";     //-- MSSQL Port
    $nuConfigDBHost = "DESKTOP-xyz\SQLEXPRESS"; //-- Server Name

Installation on Synology NAS

References