i have started mysql server but the /tmp/mysql.socket file is missing.
Can't connect to local MySQL server through socket '/tmp/mysql.socket'
what to do?
thanks
I have set up a local webserver using MAMP on ports 8888 for Apache and 8889 for MySQL - I am using this exclusively for Drupal 6 multisite. I would also like to have a local webserver using the native mac os x capabilities through ports 80 and 3306. Is it possible to run both MAMP local server and native osx webserver concurrently? I have tried to install php on my local server by editing the http.conf file but whenever I open a .php file (any php file) using Firefox I get an infinite loop of blank browser windows opening (FF) or in Safari the actual code of the php file is displayed rather than the php processed page. Have I missed/messed up something?
Thanks,
Hello everyone,
I am using SQL Server 2008 management studio to execute the following SQL statements, and here is the related error message from SQL Server management studio. Any ideas what is wrong?
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
Create TABLE [dbo].[BatchStatus](
[BatchID] [uniqueidentifier] NOT NULL CONSTRAINT [PK_BatchStatus_ID],
[BatchStatus] [int] NULL,
CONSTRAINT [PK_BatchStatus_ID] PRIMARY KEY CLUSTERED
(
[BatchID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
Msg 102, Level 15, State 1, Line 3
Incorrect syntax near ','.
Msg 319, Level 15, State 1, Line 8
Incorrect syntax near the keyword 'with'. If this statement is a common table
expression, an xmlnamespaces clause or a change tracking context clause, the
previous statement must be terminated with a semicolon.
thanks in advance,
George
Hello All!
I have MS SQL Server stored procedure that returns XML (it uses SELECT with for xml auto, elements)
I tried read it into DataTable:
DataTable retTable = new DataTable();
SqlCommand comm = new SqlCommand("exec MySP", connection);
SqlDataAdapter da = new SqlDataAdapter(comm);
connection.Open();
da.Fill(retTable);
but retTable contains 12 rows with separated full xml thar SQL Server returns.
How can I read that XML from DB into DataTable object?
Thanks!
I have a hp xw8200 workstation and would like to install Windowx XP 64 bit on it. Problem I seem to be having is when I reboot the machine and try to boot from the CD, nothing happens. Seems that the CD Drive is not being located or does not execute my cd to start the install.
I already checked to verify that I can install Windows XP 64bit on my machine and also ensured I have the right bios and drivers for the install, only that the boot just does not take place. Anyone have any idea how I can solve this problem ?
http://www.hp.com/workstations/pws/xw8200/xw8200.pdf
http://h20331.www2.hp.com/Hpsub/cache/286710-0-0-225-121.html
http://h20331.www2.hp.com/Hpsub/cache/286707-0-0-225-121.html
thanks in advance
i wonder if there is any application for the linux bash shell to make it more easier to type.
eg. if i type "c" then maybe it would give me all commands that starts with that letter for example "cd", "cp" etc. then if i type "cd" and press space it give me all the parameters for that command.
is there application of this kind to automatize command typing?
I have a website that is using Windows Server 2003. The site is called https://mysite.com/ and at ip address 111.1.1.1. Now when I log into the site all my relative links that are generated using NavURL (<%# NavURL("Images/Menu/img.gif")%) are saying "http://111.1.1.1/Images/Menu/img.gif" instead of "https://mysite.com/Images/Menu/img.gif". This is causing an error because it needs to be secure. I'm sure there is a setting on the server somewhere to point to the name and not the ip, but I don't know where. Thanks for your help.
Hello, sorry for answer but how to enable TCP in SQL server 2005 express edition? I used configuration manager, find network configuration/protocols and there enabled TCP, after that I have restarted sql server service and tried installation of problematic software again (software which told me that TCP is not enabled) but I have the same problem :-(
Just from nowhere I can't login to my Windows server 2008 machine. All the services like FTP server or webserver (which I'm actually not using, just remote desktop and FTP) are running.
Whatever credentials I try (even/especialy administrator), it always says Unknown Username or bad password. I have already tried hard turn off/on and safe mode without luck. Also I already tried type in login name as SERVER NAME\user or Workgroup\user (every case sensitive scenario), still says I have wrong login. Usually we are using remote desktop to access the machine but local access over KVM doesn't work either.
Now I'm lock out of any control or any way to do something. There's just logon screen preceding by ctrl+alt+del to login alert. Without me able to login I can't actually try to fix anything. Can't find much more on Internet except the SERVER NAME\user thing. Reinstall would be the last resort but I can't let things this way for much longer anyway. This server is vital.
If it would be any help, I think automatic Windows updates are turned off and there were no updates or newly installed software for last couple years and just few soft restarts, non of them recently.
It happened during it's runtime while all other services were still up and running, so this couldn't be just some Windows nasty screw up during boot or something. What could have possibly changed? What are my options now?
Hi,
can any one please send me the project(in android) where there is only client program which can connect to server and read the response from the server.send to my mail id [email protected]
Thanks and Regards,
Pushpa
Sorry about my English i hope that can be understandable...
I'm working on one App for Android and my purpose is to stream video over the phone camera to other Android phone (application). I don´t know so much about streamming video, and what i want to know is what i need to do..
I need to create a streamming server that receive the video from one android phone? How i do this?
And what is the best way to do this? how i can set up/configure a streamming server?
someone can help me with some explanation or tutorials?
Thanks in advance!
We have an 32 bit application consisting of some processes. They communicate with shared memory of a DLL used by every process. Shared memory is build with global variables in C++ by "#pragma data_seg ("Shared")".
When running this application sometime during starting a new process in addition to an existing (first) process we observe that the shared memory of both processes is not the same. All new started processes cannot communicate with the first process.
After stopping all of our processes and restarting the application (with some processes) everything works fine. But sometime or other after successfully starting and finishing new processes the problem occurs again.
Running on all other Windows versions or terminal sessions on Windows server 2003 our application never got this problem. Is there any new "feature" on Windows server 2008 that might disturb the hamony of our application?
hi!
i using hwdvideoshare module in joomla and i can't use the Method 1 for Direct Video Conversions. it requires the following things to be done:
* The exec() function need to be enabled in PHP.
* safe_mode must be set to Off. You can check that at Joomla Help -> System Info -> PHP Information)
* php-cli (Command Line Interface to PHP) must be installed in the server and its path set in Server Settings
* safe_mode must be set to Off for php-cli. You can check that executing php -i | grep safe_mode from the command line
i've checked the first two settings. i don't know whether php-cli is enabled or not..i'm using php5..how do i enable it, without messing with other php packages?
I'm not sure if this is the site for this question or not [if so put in the comment or vote to move it]
How can I copy only the data from one database to another within the same server on SQL Server 2005?
The two databases have the same schema but not the same data.
I'm trying to get the data from one database to another.
I am not able to restore from a snapshot [that screws over the security settings on the database]. I'm not able to use the import data wizard, because that is trying to copy over schema data as well.
hi i am new to zend and i installed zend server in my local machine, i found phpmyadmin on my instalation directory and i copied it on htdocs.
while running http://localhost/phpmyadmin it appears login page and when i enter username and password it does not redirects to the main page.
insteda it gives "internal server error"
thanks in advance
i am reading soap message from server over ssl connection using SSL_read(m_pssl,f_data,f_datalen) but it reading 265 bytes first.
then i again called SSL_read() and it reads rest of message + starting of message.
Can anyone tell me how to find the end of message over server over ssl connection?
Possible Duplicate:
My server's been hacked EMERGENCY
My Server 2008 R2 home server is intermittently (every 30 minutes or so, for about 3-4 minutes) creating a huge amount of connections which reaches the 4096 connection limit, thus effectively DOSing our internet connection.
I've run a couple of network traffic monitors, and it appears to be a system process causing the problem.
I thought I'd fixed it by reinstalling Comodo Antivirus, but it appears that wasn't the problem.
Any thought? Thanks in advance.
We have just had a graduate join the team with the end aim of assisting out our very busy DBA.
He has only a basic SQL knowledge from his degree so we are looking for a really good getting started book preferably based on MS SQL server.
Purchase Update: Thanks to the replies we have now purchased Head First SQL to review what he already knows and Beginning SQL Server 2005 Programming to enhance these skills.
Further down the page you can see my full review of the books for our needs. However still feel free to post more books as others may find them useful!
Isn't there a (simple) way to tell Linq To SQL classes that a particular DateTime property should be considered as UTC (i.e. having the Kind property of the DateTime type to be Utc by default), or is there a 'clean' workaround?
The time zone on my app-server is not the same as the SQL 2005 Server (cannot change any), and none is UTC. When I persist a property of type DateTime to the dB I use the UTC value (so the value in the db column is UTC), but when I read the values back (using Linq To SQL) I get the .Kind property of the DateTime value to be 'Unspecified'.
The problem is that when I 'convert' it to UTC it is 4 hours off. This also means that when it is serialized it it ends up on the client side with a 4 hour wrong offset (since it is serialized using the UTC).
Hi! I want to coordinate use of common files on Windows Server 2003 from two Windows XP Workstations. Does Windows Server 2003 provide network mutexes for this purpose? Are there any libraries of C functions to access to them? I couldn’t find such functions in Visual C++ 2008.