I am hosting a MySQL server on windows via xampp and want to start it whenever I test my Intellij application.
Intellij provides a way to run commands before starting the application, so I added
NET START MySQL
When starting, the console says:
System error 5 has occurred.
Access is denied.
Answers from other Threads include running cmd as an administrator, but since Intellij runs the commands in the internal "Terminal", I can't really do that without running Intellij as admin every time.
Now my question is, can I grant Intellij some sort of permission to use NET?
Related
Created a proj from VS2013 installed mysql plugin 1.1.1, can update. But after I transferred to VS2017, it wont update Model from Database on edmx file. So I am installing mysql plugin 1.2.7 but i get this error..
I found this solution from the MySQL Windows Experience Team
I've identified that the installation is rolling back whenever it tries to execute the command "devenv /updateconfiguration /log", which is the last step of the installation. This command signals Visual Studio to reload the extensions, including the MySQL for Visual Studio plugin, however for some strange reason (probably due to one of the recent VS updates) execution of said command is failing.
The current workaround is to remove the execution of the failing command from the MSI and after installation of the plugin proceed to execute the command manually. Steps to achieve that are as follows:
Download and install Orca. Orca is a light Windows Installer Development tool that allows to edit MSIs.
In Windows explorer, right click the MySQL for Visual Studio MSI file and select "Edit with Orca".
Click the "InstallExecuteSequence" item located under the "Tables" section on the left side of the window.
If you're trying to install in VS Community right click the "SetVS15Setup_Custom" action and select "Drop Row" option. Do the same for "VS15Setup_Custom". Similar elements exist for VS Professional/Enterprise.
Save changes and retry installation of MySQL for Visual Studio.
Once installation completes, open the "Developer Command Prompt for VS 2017". It can be found in VS 2017's start menu folder.
In the command prompt execute the command "devenv /updateconfiguration /log" and wait for it to complete.
I hope that the steps provided are of help.
Credit goes to:
Marco Barnabò (for reporting the bug) &
Jose Maria Ramirez (for solving the issue)
The solution was obtained from the mySQL forums:
https://forums.mysql.com/read.php?174,660549,661819#msg-661819
I am stuck at the moment and need some help advise. I am trying to install the software above on a windows 8 machine for the company I work for. Initially I installed it but when I tried to do the wdeploy predeployall I got an error with acess denied to sAPJVM, it didn't actually exist in the win64_X64 folder. After reading abit, I decided to uninstall and re-install. Howver the re-install failed with the following error
java virtual machine launcher
could not find main class: com/businessobjects/sdk/biar/utility/xsdutility. program will exit
Now I can't uninstall or install so stuck in abit of a limbo. I also notice that the SAPJVM is not there either.
Can anyone offer advise on how I get over this.
thanks
It turns out if your using a tomcat server and the server is on another box, you need to run cmd as the administrator. This was my issue.
Disclaimer: I know that this question has been asked numerous times, but before Nsight 5.5 the answer simply was "You can't."
I'm trying to debug a CUDA program with Nsight 5.5 on Ubuntu. The remote machine is also an Ubuntu with CUDA Toolkit 5.5.
I setup debugging in NSight using the "Debug an application on a remote system".
Whenever I try to run the application I get a "Could not start gdbserver on the remote host" error.
This is what I get on the console:
Last login: Thu Aug 1 16:09:26 2013 from host.whatever.edu
echo $PWD'>'
:2345 /tmp/nsight-debug/flow;exit
someuser#remotehost:~$ echo $PWD'>'
/home/someuser>
someuser#remotehost:~$ :2345 /tmp/nsight-debug/flow;exit
:2345: command not found
logout
Both gdbserver and cuda-gdbserver are installed on both machines.
If I ssh to the remote host, I can run /tmp/nsight-debug/flow manually.
What might be the problem here? Is there anything missing from the setup?
This looks like a bug in Nsight, we will take a look into this matter.
Please make sure that you have remote toolkit configured for your connection.
From the main menu, select Run -> Debug Configurations...
In the left-hand tree, select you debug configuration under C/C++ Remote Application
Make sure that Remote toolkit combo has proper toolkit selected. If you don't have any toolkit configured, click Manage... and setup the toolkit.
Usually you will only have to setup the toolkit once per your connection - e.g. you will not have to setup it if you want to debug another application on the same remote system.
XAMPP is unable to start Apache or MySQL on a windows 7 system when run from a flashdrive.
The control panel indicates that the server is starting, but it never actually comes online. Additionally, the control panel process refuses to end; Task Manager end tasking is required to make it stop.
Is there a specialized setting either in XAMPP or Windows that needs to be made to achieve operation? Is there a version incompatibility? Anyone know a way to get this running?
Try XAMPP Lite -- it has all of the main features of XAMPP, and runs flawlessly from a flash drive.
Be sure to select "no drive letters" during the setup process to maintain portability.
I'm just setting up the live environment for my new project. Unlike my dev and testing systems, the live environment consists of a web server (Win 2003) and a separate DB server (MYSQL).
My installation process for each release of the software is nicely scripted, giving me full rollback options etc.
However, I can't work out how to install my stored procedures within that process. I can't run a MYSQL command line because MYSQL isn't installed on the web server, it only accesses the DB via ODBC.
Is there a means by which I can run MYSQL commands on the web server, via ODBC from a command line? I really want to keep it all together so I can run "Install v123" and everything whizzes off and gets installed in one go.
There may be a more elegant solution but: I had a very similar problem a number of years ago, and I eventually just wrote a little stand alone program to run my scripts at the end of the install.
Another common option is to have them run as part of a configuration utility/page the user goes to after setup, but I'm assuming you want to keep this as a 1 step installation.