How do I make a SQL Server and connect mysql Shell to it - sql

I've seen people ask the same question but they already have the local server ready, but I don't know how to make one, so can someone help me and show me how to make a SQL Server

If your intent is to install MySQL Server, here are the instructions:
https://dev.mysql.com/doc/refman/8.0/en/installing.html
Instructions for connecting MySQL Shell (8.0):
https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-connection-using-parameters.html
However, I'm assuming you are asking for instructions for installing Microsoft SQL Server 2019 ("SQL Server" is usually inferred to mean Microsoft's database).
https://learn.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver15
If you are intending to work with Microsoft SQL Server, you may find Visual Studio 2019 Community Edition to be an easier tool:
https://visualstudio.microsoft.com/downloads/
https://learn.microsoft.com/en-us/visualstudio/data-tools/add-new-connections?view=vs-2019
SQL Server Data Tools for Visual Studio
https://visualstudio.microsoft.com/vs/features/ssdt/
You may also be interested in looking at the free database tools offered by EMS (which supports working with MySQL, PostrgreSQL, ..., and SQL Server)
https://www.sqlmanager.net/en/tools/free

Are you on windows?
You need to install the server, because you mention mysql, download it here
https://dev.mysql.com/downloads/installer/
After you have installed it you can download a mysql client to manage your server, like mysql workbench
https://dev.mysql.com/downloads/workbench/
Maybe you use linux because you mentioned shell?
sudo apt-get update
sudo apt-get install mysql-server
Configure the server
sudo mysql_secure_installation utility
Start the service
sudo systemctl start mysql
Start the mysql shell
/usr/bin/mysql -u root -p

Related

odoo15 enterprise edition installation in Linux VPS server

I am trying to install odoo15 enterprise edition on a Linux VPS server , But I'm facing many issues during installation .
Can you guys help me with a clear guidelines about the installation process?
If you are using an Ubuntu server, you can use an installation script to easily install Odoo.
You can find an installation script from Yenthe over here
I have a slightly modified version of the same script over here

Installing ORA2PG tool on windows 12R2 server

This is 1st time here. I am trying to install ora2pg tool to migrate data from oracle 12c to PG20. As per docs, I installed Strawberry Perl and ActiveState Perl on the Windows server where I have Oracle 12c enterprise version (and not the client) installed. On the same machine, I have postgresql installed. When I type gmake.exe on c:\ora2pg20\ I get this error message:
:to undefined at c:\perl64\site\lib\extutils\install.pm line 141.
Is it because I could not get to install DBD::Oracle? Or I am missing something else? Any help?
I had to get ora2pg running earlier today on my Win10 and faced the same issues.
I had also installed Strawberry Perl and ActiveState Perl - and found that the PATH envvar ended up being confused with having multiple Perl environments.
So I got rid of ActiveState PERL and made sure my PATH envvar was correct for Strawberry Perl.
Then I got DBD::Oracle from
https://cpan.metacpan.org/authors/id/M/MJ/MJEVANS/DBD-Oracle-1.80.tar.gz
After installing ora2pg and DBD::Oracle via the standard Perl Makefile process, and creating a valid ora2pg.conf file for my particular Oracle instance, it all started to work.
Good luck

Problem with oracle forms 12c installation

I am trying to install Oracle 12c forms on my local pc. When I try to select
the path of my instaled Oracle 12c weblogic (I have instaled oracle 12c database and 12c weblogic)
and click next in the installation wizard it says
INST-07548: The selected distribution does not have any compatible install type for the selected Oracle Home.
INST-07551: Not all dependent featuresets for install type "Forms and Reports Deployment" could be found. The following prerequisites were found to be missing:
em_fmc - 12.2.1.3.0
What should I do?
have you followed the documentation ?
I must admit that installing Oracle Forms and Reports is not really straightforward.
You have to stick to what's said in the documentation, by first installing the "Oracle WebLogic Server FMW Infrastructure" and then install "Forms and Reports" product over it.
Oracle Forms and Reports is not install directly . First install the "Oracle WebLogic Server ,FMW Infrastructure" and then install " Forms and Reports.

Run MS SQL Server Express on Linux Mint

I am aware that MS SQL Server 2016 is compatible with Linux. Despite this flavor of SQL, I am needing to run SQL Express for training purposes. Is there a method to successfully operate Microsoft SQL Server Express in the Linux Mint environment?
I think this is an interesting question and shouldn't be marked down. After searching online, i came up with his tutorial on setting up mssql server on linux. I tested on linux mint 18.1.
http://www.tecmint.com/install-ms-sql-server-centos-ubuntu-linux/
I installed MSSQL 2016 on Ubuntu last night. Mint is Debian based so it 'might' work. The instructions are here ...
https://learn.microsoft.com/en-gb/sql/linux/sql-server-linux-setup-ubuntu
The installation process is very simple - in fact it literally took seconds, since it uses the familiar apt-get install package manager install which is available with Mint. One thing to be aware of is the requirement for openssl needs version 1.0.2 - this caught me out. I tinkered around trying to upgrade to the correct version on my ubuntu server and did have the correct version installed but MSSQL still would not install. So I created a 16.04 version of ubuntu and then it installed easily. I'm not sure if my comments qualify as an 'answer' but I'd just try and install it as if you have the dependencies I would think you'll be okay.

How to install pgAgent service on windows

I am new in postgreSQL database , I recently found that postgreSQL support SQL Job by pgAgent. I am using windows XP operating system.
I searched lots about pgAgent on Google and trying to configure pgAgent on machine.
Download pgAgent package in which I found pgagent.sql file after executing this file JOB(0) icon is appear on my pgAdmin III object panel. like following image.
But I am facing problem to register pgAgent service. As per postgres sql documentation following is next steps to register services but I am fail to do this. or don't know how to configure pgAgent service.
Following step from postgre sql documentaion :
The service may be quite simply installed from the command line as follows:
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p secret hostaddr=127.0.0.1 dbname=pgadmin user=postgres
but I tried lot to do this, please help in how to register pgAgent service with Windows XP.
reference link of postgre sql : http://www.pgadmin.org/docs/1.6/pgagent-install.html
Please help in this , Thanks in Advance !
PgAgent is probably not installed
The pgAgent download page says:
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin. Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate
application.
And then it provides a download link to http://www.postgresql.org/ftp/pgadmin3/release/pgagent/
But the problem is there's only source code there. There are also SQL files in the tarball but they're useless without pgagent.exe.
How to install it
Apparently the correct way to install a pre-compiled pgAgent is with the Stack Builder installer that also happens to be the primary installation method on Windows for the PostgreSQL server itself. That's what is suggested on the official download page:
http://www.postgresql.org/download/windows/
If you have already installed PostgreSQL for Windows with this method, the installer is available under the name Application Stack Builder in the PostgreSQL 9.2 folder in Windows Start Menu.
StackBuilder will normally recognize your installed PostgreSQL version(s), and suggest to install among various programs pgAgent in the Add-ons, tools and utilities category.
Once you check pgAgent and continue with the installation, it will download it and launch its setup. The setup phase includes runnning the necessary SQL statements and installing the PostgreSQL scheduling Agent - pgAgent windows service. If this step is successful, there is nothing else to do, the functionality will be available in pgAdmin for creating jobs.
What's misleading in the docs
The latest pgAdmin docs at http://www.pgadmin.org/docs/1.16/pgagent-install.html has a Service installation on Windows chapter that says:
The service may be quite simply installed from the command line as
follows (adjusting the path as required):
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p
secret hostaddr=127.0.0.1 dbname=postgres user=postgres
However in the majority of cases this is not going to be of help because either:
pgAgent install is done by pgAgent setup as launched by StackBuilder and this step is not necessary.
or you have got pgAdmin alone and pgagent.exe will not be installed so this step is not possible.
pgAdmin will be successfully installed after downloading the compressed file from
https://www.pgadmin.org/download/pgagent-source-code/
there inside, you will find the file "sql\pgagent.sql"
Toss the content of this file into the Query Tool and run it. That will install pgAgent. Refresh your database connection to see the result. The tab pgAgent Jobs should have been created at the root level for your connection.
There is no need of using the INSTALL command from your command line.
I faced the same problem. I was able to get pgagent working by downloading and executing the stand-alone installation file pgagent-3.4.0-4-windows.exe from here: http://sbp.enterprisedb.com/getfile.jsp?fileid=11842