question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document how to set environment variable for connection string in Linux

See original GitHub issue

Right now it is Azure:SignalR:ConnectionString, which is not convenient for Linux users. Because : is not allowed in environment variable.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
johnkorscommented, Jul 26, 2019

Neat, thanks!

1reaction
analogrelaycommented, Jul 23, 2019

That’s because ; is a statement terminator in zsh, just like in languages like C#. So ZSH stopped parsing at the first ;. If you quote the string, you should be able to avoid that:

export ConnStringWithSemiColons="ThisIsStuff;OtherStuff;LastlyStuff;KthxBye"
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set an Environment Variable in Linux
For the changes to take effect, use the command source /etc/environment . /etc/profile – Variables set in this file are read whenever a...
Read more >
How to Set Environment Variables in Linux
Set an environment variable in Linux by following this short tutorial. Learn how to view and manage a list of environment variables.
Read more >
How to correctly store connection strings in environment ...
I am working on an ASP.NET Core MVC application and I am having an issue with my connection strings. I have an ASPNETCORE_ENVIRONMENT...
Read more >
Configure environment variables for SQL Server on Linux
This article describes how to use environment variables to configure specific SQL Server settings on Linux.
Read more >
Read the database connection string and other secrets ...
To read the connection string from an environment variable. Add the builders to the Startup.cs file public Startup(IConfiguration configuration, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found