I feel like I've run commands like the following in the past, but I'm getting an error trying it right now. Maybe I'm just having a brainfart, and my syntax is off.
mysql -u root -p db_name < *.sql
What I expect this to do is run all the SQL files in the folder ordered alphanumerically. However, I'm getting this error:
-bash: *.sql:…
I have changed the AD domain on a SQL Server 2008 box which was setup only for Windows Authentication. Now the domain has changed, I can't log into the SQL Server instance even as the domain's Administrator account.
Is there a way of updating the server security settings without logging into the SQL instance first through a command switch /…
I lost track of my account when my question was moved to superuser.
I wasn't able to install Microsoft SQL Server 2005 Express Edition SP4 through automatic update so I downloaded the update from here and tried manual install, which was also failed with some error:
The components that you are trying to
install are already installed
…
We have an SQL Server 2005 that is the backend of a web application.
The application is partly SharePoint and partly web services accessing the database via Entity Framework.
In the performance monitor I am seeing average SQL Logins is ca, 60 per second (max 170), but the average logouts is less than 1.
Where can I see the total number of…
Hello Serverfault.
First time I set up a SQL server, so I hope you can help me out.
I have a problem regarding logging in using SQL auth on my SQL EXPRESS 2008. I have added a user though the management interface as you can see on the image below.
But as soon as I try to login using SQL auth I get an error the login failed for the…
Hello.
I have two instances of SQL Server 2008. One was upgraded from SQL Server 2000 and one was a clean, new install. The instances are running on different nodes of the same cluster, although I have tried having them both on the same node with identical results.
SQL Mail operates perfectly on both instances.
DB Mail operates…
We had an issue early this morning when iSCSI issues broke connectivity with a few of our databases (resulting in a SQL Server Error 21). Attempts to DBCC CheckDB did not work, and the only solution was to restart the SQL Service.
Is there a known reason why an iSCSI initiator session would reset itself out of the blue?
Example…
My instance of SQL Server 2008 SP1 crashed, which is a separate issue, and I see the following set of messages in the SQL Server Agent log:
[139] AutoRestart: Attempting to restart the MSSQLSERVER service (attempt #1)...
[368] AutoRestart: Unable to restart the MSSQLSERVER service (reason: Access is denied)
Is there an…
I have read up online, and through some threads here like this one. But I'm still confused and need to see if anyone can shed some light.
My company is deploying a clickonce application that will be on multiple computers (about 50). It will be accessing an SQL Server database and I was wondering what kind of SQL Server…
Hi,
I want to unlock one account in MS SQL Server. Before unlocking i have to check whether that account is locked or not. I want to unlock only if the account is locked. Is there any SQL query or stored procedure to get the "Locked" status of SQL user.
Thanks in advance
Santhosha
I've been monitoring our SQL server for a while, and have noticed that I/O hits 100% every so often using Task Manager and Perfmon.
I have normally been able to correlate this spike with SUSPENDED processes in SQL Server Management when I execute "exec sp_who2".
The RAID controller is controlled by LSI MegaRAID…
I need help installing SQL Server 2005 Enterprise edition.I really need to remove the current SQL Server 2005.installation that is no longer on my Add/Remove software list but yet
still installed on the machine.
I tried to uninstall SQL Server Express / Developer Edition but it
only removed it from my Add/Remove…
I just migrated a development workstation
FROM: Windows XP Pro SP3 with IIS 6
TO: Vista Enterprise 64bit with IIS 7
Since the move, one of my pages that accesses an SQL Server 2000 database is receiving the following error from my ASP.NET 2.0 web page: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
…
I have tried disabling firing wall and checked sqlbrowser is started but for some reason I cannnot connect to my datbase... called server_name\sqlexpress..
I have a virtual machine and a full scale MS SQL Server 2008 R2 running on it... and I have several other vm running sqlexpress. they run fine and I can…
Hello
My Sql server is on Local Machine,
I want to access it through Internet.
I Configure Surace manager and Configuration manager
of sqlserver 2005 for remote access.
My sqlserver is running on port:1433
I am using port forwarding ,
I can access service of other ports,
My Connetion String Is:
Data…
I'm running a web service that serves a mobile app on IIS 8 and SQL Server 2014, my service has a massive load and i'm trying to improve performance, most of the load is happening on SQL.
i don't think i have a bottleneck, my processor and ram is up to the max and i think my code is not that bad, am…
So, I posted this question a few days ago:
Impact of increasing the MaxTokenSize for Kerberos Tickets
Since then the thought was to test our settings on two member servers, one with IIS and one without. I setup two GPOs to configure the MaxTokenSize reg setting to 48000 and…
Microsoft SQL Server 2008 (SP1) Standard running on Windows 2008. Bidirectional transactional replication is set up between two servers. One of the subscription agents just started getting error 15164. The results of sp_helpsubscriptionerrors is:
Source: MSSQL_ENG
Error:…
When I setup sql2005 this problem appear Minimum Hardware Requirement (Warning) Messages Minimum Hardware Requirement
The current system does not meet the minimum hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the…
I have SpiceWorks 4.7, installed and added the sql monitor extension to monitor our SQL servers. It does identify our sql servers correctly, but when I put the login information in it can't authenticate, with the following error message.
Authentication failed. Check the…
I'm trying to connect to a SQL instance (default instance) on a machine. When using the IP of the machine it connects to the machine. Using the name of the machine on that machine you are able to establish a connection to the SQL instance but using the machine name on…
Hi,
Our environment is:
Windows Server 2003, Service Pack 2
SQL Server Express 2005
SQLServer JDBC driver 1.2 (also tried Jtds)
Sun JDK 1.6 (we tried this on JDK 1.5 as well)
There is no virus protection software on the host, and no firewall is enabled.
We have Web…