<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: retinqdon</title>
    <description>The latest articles on DEV Community by retinqdon (@retinqdon).</description>
    <link>https://dev.to/retinqdon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F862436%2F3a698883-7bac-4f2b-a118-cddf46c8e1e5.png</url>
      <title>DEV Community: retinqdon</title>
      <link>https://dev.to/retinqdon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/retinqdon"/>
    <language>en</language>
    <item>
      <title>Laravel Filament in SQL SERVER : Error [Missing parameter: record]</title>
      <dc:creator>retinqdon</dc:creator>
      <pubDate>Sun, 15 May 2022 16:02:22 +0000</pubDate>
      <link>https://dev.to/retinqdon/laravel-filament-in-sql-server-error-missing-parameter-record-2i9h</link>
      <guid>https://dev.to/retinqdon/laravel-filament-in-sql-server-error-missing-parameter-record-2i9h</guid>
      <description>&lt;p&gt;I installed Laravel Filament and followed some tutorials. Then I tried it using sql server. I already have my database table but when I create a filament resource and click the menu then I encounter this error : &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eHpAaoKA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o4xm1wylbe2bo7bpyp3g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eHpAaoKA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o4xm1wylbe2bo7bpyp3g.png" alt="Image description" width="880" height="111"&gt;&lt;/a&gt;&lt;br&gt;
So the first thing I do is to google for this error. But it seems that no one has encountered it yet. So I tried to solve it on my own. What I found out is that filament is looking for an id in the table with small i while I use capital I. &lt;br&gt;
This is my table: &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XubFnq7R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qsdd13jf9dkp2s0y5lto.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XubFnq7R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qsdd13jf9dkp2s0y5lto.png" alt="Image description" width="666" height="316"&gt;&lt;/a&gt;&lt;br&gt;
So I changed the Id in my table into id, like this :&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nGXi7AQB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9z16un5si3duf5pqnojw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nGXi7AQB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9z16un5si3duf5pqnojw.png" alt="Image description" width="838" height="382"&gt;&lt;/a&gt;&lt;br&gt;
 and the error goes away.&lt;/p&gt;

&lt;p&gt;Hope this helps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks guys.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Setting up Laravel with SQL Server AND Laragon on Windows</title>
      <dc:creator>retinqdon</dc:creator>
      <pubDate>Sat, 14 May 2022 16:26:39 +0000</pubDate>
      <link>https://dev.to/retinqdon/setting-up-laravel-with-sql-server-and-laragon-on-windows-2cp9</link>
      <guid>https://dev.to/retinqdon/setting-up-laravel-with-sql-server-and-laragon-on-windows-2cp9</guid>
      <description>&lt;p&gt;I just want to share how I connect my laravel project with sqlserver. &lt;/p&gt;

&lt;p&gt;I assume that you already have Laragon and SQL Server in your local system. &lt;/p&gt;

&lt;p&gt;Step 1. Download the PHP driver &lt;a href="https://github.com/Microsoft/msphpsql/releases/tag/v5.10.0" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to the bottom of the page then download windows-8.1.zip (since I'm using PHP 8.1
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fktp31rtjgy6q10j1yg8o.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Extract the zip file to a folder, then go to folder named x64, you will see the following dll
 &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuvh9mywaedmmjbwxnbia.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Then copy these dll to your php folder inside the laragon folder, mine is  C:\laragon\bin\php\php-8.1.5-nts-Win32-vs16-x64\ext
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj20ppu76rp5gydxmwegh.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Then Edit your php.ini, add the extension
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6uqwgphagm2mb11hffo.png" alt="Image description"&gt;
&lt;/li&gt;
&lt;li&gt;Then restart your laragon server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 2. Make a new laravel app using laragon quick app menu&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0ybjhbs8mnqu2d1sdvf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0ybjhbs8mnqu2d1sdvf.png" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa465e1hxqhlcpgtb03c5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa465e1hxqhlcpgtb03c5.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Then we need to update the .env file
```
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DB_CONNECTION=sqlsrv&lt;br&gt;
DB_HOST=127.0.0.1&lt;br&gt;
DB_PORT=1433&lt;br&gt;
DB_DATABASE=lara-sqlserver&lt;br&gt;
DB_USERNAME= sa&lt;br&gt;
DB_PASSWORD= 12345678 &lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  * Next, create the database in sql management studio, mine is lara-sqlserver
  * Before running the migration, make sure to enable tcp-ip in sql configuration manager
   ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/opikbte4ce6kxwgqvbl5.png)

  * then run the migration

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  * if everything works fine you should see this in your terminal
     ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iyhnoaaphswfoqss9zml.png)

**Thanks guys!**
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
