Grails - Open MySQL and Apache Server from Project without Xampp\Wamp - mysql

I am building a Grails Project that uses MySQL for manipulating database entries and execute CRUD examples.
For the MySQL server to be active, I use XAMPP Control Panel and I must have Apache and MySQL opened in the XAMPP Control Panel in order to establish a connection between Grails and my MySQL Database.
The Grails Project starts Tomcat server itself everytime I run my project, and I dont know how I can achieve that with Apache and MySQL, so that I wont have to use the XAMPP Panel every time. When the WAR is created, I should be able to create the connection from within the project, without the need of a Server Panel like Xampp or Wamp.
I would like to find a way to start Apache and MySQL server from inside the Grails Project. Any ideas?

Related

Process of creating database on your own server

I bought "Hetzer" server so I can create my own database and practice a little bit. My server is using Ubuntu. I plan to also create a script (probably in node or asp) so my android application can communicate with database.
How to start with creating database, what to do?
Firstly https://www.hetzner.com/ is one of the best professional web hosting providers. In order to set up your Mysql server to your ubuntu machine. Install lamp stack. There are many tutorials about installing lamp. Then open your DB for remote connection or do kind of restful service to access your data in DB.

How put NetBeans on redhat?

I'm try to build some html, jsp, java(servlet) and database Mysql in Netbeans, I just created a account for redhat, how can I move the NetBeans on redhat and the MySQL too.
I did not find any way on searching related content.
What should I do to host the server on redhat, rather than from my pc local.

MySQL server at localhost>:3306[root](disconnected) >nodeUnable to register mysql server 5.6 in Netbeans 8.1

I am creating a web database app project for the first time, and I get this:
When I right click on MySQL server at localhost>:3306[root](disconnected) >node in services window in net beans and click connect and I get this ,when i right click MySQL server at localhost>:3306[root](disconnected) >nodeinside service window and click start
When I right click , the node jdbc:mysql;//localhost;3306/MyNewDatabase[root on default schema]under the drivers in service window and click connect it connects without any problem.drivers Please help me. I am unable to register mysql server 5.6 on Netbeans 8.1. I have even tried adding adding mysql libraries to the project but still no luck.
I got the answer the problem is with my drivers i remove all of the drivers and add mysql conector java 5.1.13.jar i found it around removing the driveradd driver,now i can easily connect

Connecting to a database in Visual Studio

I'm afraid I have been stuck on this one for a couple days now.
I've worked with databases before (normally using php and a mysql server) but I'm new to visual studio and I just can't seem to find much info on what kind of server you need to connect to (and how).
I guess the first part of my question would be: Can the server running the database be a remotely hosted "online" mysql server or does it have to be installed on your machine (for example like you can install apache)?
The easiest option for me would probably be to connect to my existing mysql server of my online website, but how?
I have sql server management studio installed but am not sure what to enter as the server name etc in the dialog box that shows up.
I do know my mysql server details and all, but just have no idea how where and how or even if I can connect it directly to my visual studio project.
I have looked several times on google but till now I have only been able to find videos and tutorials showing how to create a new database - which assume you are already connected to some sort of server.
Also, if you do use a locally hosted database server then wouldn't you have to port it to a different (online) database once the website goes live?
Thank you for your time!
Yes, the database can be remotely hosted, I'have this working on my local machine with a remote MsSql database. Make sure the remote database server accepts connections from your IP.
I'm pretty sure the MsSql Server Management Studio is only for MsSql, not MySql. The server name in my case is the IP for the remote MsSql database server, further you need the login and password for your database. But if you use your remote MySql, you don't need this tool.
I have no experience with MySql, but it must be possible to use the database in your Visual Studio project with the correct "connectionstring". The connectionstring contains the type of the database, where it is located, login and pasword, etc. You can find the syntax of you connectionstring here: www.connectionstrings.com/mysql/

VB.net Project using MySQL user locally

Need Help.
I made a vb.net project, it is already finished. but my problem is, after i install the project i made to another computer. it can't connect to the database unless the WAMP server is open. is there a way to user without opening WAMP server?
WAMP stands for Windows Apache MySQL PHP. It runs MySQL server, so you need it to access database. Option is that user on another computer runs some MySQL server or connects to web server that runs database required for application.
You could also consider using Microsoft Access database. In this case you don't need server. All database is just in one MS Access file.