I've read few tutorials about how to configure remote debugging with xdebug and phpstorm. I'm quite sure that I've done everything right. Is it possible to check if xdebug on remote server works well? Is there any log or something like this?
On localhost it works great, the problem is only with remote.
Related
I need to be very careful with the remote machine that i'll be interacting with. It's a Red Hat 6, and I don't want to install anything extra or redundant. The remote machine isn't mine and I need to be very careful/delicate with it. What are the things that VSCode remote SSH will install on that machine?
VSCode installs the server side executable in your home directory. Unfortunately, it looks like VSCode requires RedHat 7, so Remote SSH might not even be an option for you.
https://code.visualstudio.com/docs/supporting/requirements
If you are worried about inadvertently causing an issue on the Red Hat 6 server, you could try it out on a VM to make sure there are no issues.
I have installed SQL SERVER 17.
I'm trying to connect to a remote Database and I was not able to do so. After research, I found out that it requires the SQL Server Browser service to be started but I couldn't find the service in the SQL Server Configuration Manager
I also tried searching for missing SQL Browser Service. So, I tried reinstalling the SSMS but I couldn't find any option to select for SQL Browser.
Also, I don't have the sqlbrowser.exe file at location 'C:\Program Files (x86)\Microsoft SQL Server\90\Shared\'. So, I guess it wasn't installed from the start.
Any solution, on how to install the service?
EDIT 1 :
This is the error message on the SSMS:
I have verified and made sure that the username and password is correct.
EDIT 2 :
I tried to turn of my firewall and then connect with the server. But, I still got the same error.
So, I tried to reinstall the complete SQL SERVER. During the installation, I selected the custom mode and selected the SQL Server Browser to be automatic. So, now I have it working.
Now, still having my firewall disabled, I tried connecting to the SERVER, but still I got the same error.
Now the question is why am I getting this error?
Final EDIT :
Sorry for all the trouble but I have posted the answer to the problem, Thanks.
You do not need to install SQL browser to simply connect to a remote database, it allows you to see SQL server instances on your machine.
In management studio, adding the hostname and credentials in the connection dialog box is enough and if they are correct, and you have access, it will connect.
really sorry for the trouble.
And the problem was a slash ( \ ).
I spent couple of hours trying to figure out what's wrong with the connection and all that time I used SERVER / INSTANCENAME and everything else was perfect... and suddenly when I was searching online someone had made a same mistake and I looked at my hostname and it was wrong.
It should be SERVER \ INSTANCENAME with a backslash ( \ ).
So I know there are a load of questions on SO related to this already, but I think at this point I've read them all, tried all the suggestions, and still haven't found a resolution.
I've got a simple .Net core MVC app with a connection to a local MSSQL database. I have been unable to get it to connect to SQL when running it in a container... I just get an error that a connection couldn't be established. When run in IIS Express it connects fine.
My connection string is:
Data Source=10.11.56.36,1433;Initial Catalog=TestDB;Integrated Security=false;User id=testdb;Password=######;MultipleActiveResultSets=True
My container is launched via:
docker run -it -p 8080:80 testing
Here are the things I've attempted so far:
Ensured the SQL server is configured to accept remote connections
Used "host.docker.internal" for server name
Ping'd the SQL server IP to ensure it's accessible to the container
Verified port 1433 is allowed through the firewall
Tried a different port and configured SQL server to listen on that
Tried without the port in the connection string
There were a host of other things I've tried as well in the last few hours of beating my head on this, but I've made no progress at all. What am I missing?
Any help would be greatly appreciated.
Please check if this bug is the reason for your error, if you are running a Linux Container:
https://github.com/dotnet/corefx/issues/29147
If so, the fix is to add the following to the runtime image in dockerfile
RUN apk add --no-cache icu-libs
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
I just had this issue. I spent 3 days and the fix for me was to use a fully qualified domain name.
MyServerName.MyDomain.com
This is what happens when I try to use sql server (img 1) Error
I tried googling the solution and still can't figure out what's wrong. I've tried reinstalling multiple times and even wiped my hard drive to reinstall it. It does not let me install without windows authentication.
Empty services
There is nothing inside of the services and network configuration. Does know how to fix it by using windows authentication? It doesn't matter what I enter in the user name it always gives me the same error.
Run services.msc
Start all services for SQL server including SQLEXPRESS it will work
Hope this helps.
I installed Oracle database 12c for the first time. I followed correctly all the steps and installed it on Windows 7 64 bits, but when I click on SQL Developer and try to create a new connection, I put in the informations like Username and password, and finnaly click on TEST button, I get this error message: "The Network Adapter could not establish the connection".
I dont know what to do anymore, I read tutorials and cant solve that error. Also, when I open SQL Developer, i get a message saying Im using a java version that is not supported by Oracle Database, Im using java 1.8 and it says I should use from 1.6 to 1.7 only. im not sure if that is causing something bad but it seems fine because I can go further using the SQL Dev. So, what should i do? Thank you very much!
Here are some things to check:
Ensure that the TNSNAMES.ORA file is properly configured to reference the database. Check for the SID, host name, and port number (typically 1521).
Check whether you can connect directly from the server, such as with SQL PLus. This should isolate whether it's a server or client problem.
Ensure that the Listener service on the server is running. Check that LISTENER.ORA is properly configured.
I encountered a situation in the past where client PCs could not connect. I found that by deleting (or renaming) the SQLNET.ORA file, the connection could be made.
Good luck.
Execute
tnsping <db_name>
from command prompt.
You will see, if listener is running and tnsnames.ora is configured properly.
Run with Windows PowerShell or Command Prompt (Admin) :
lsnrctl start