MariaDB on Windows - what is this error when trying to start the database engine? - mariadb

I am asking this question as an offshoot myself and another SO had from this other MariaDB question:
MariaDB on Windows - getting started help?
When I install MariaDB (v5.2.4), open the command window, navigate to the folder where the files are installed, and type in the following to start the database:
net start mysql
I get the following error:
the service name is invalid
I didn't do anything complex, just ran the installation and tried to get started.
Any ideas?

The error basically tells that installer did not create the service (it currently does not create services), thus you'll need to do it yourself.
start elevated command line
switch to directory of your MariaDB installation (C:\Program Files\MariaDB 5.2.4, something like that)
bin\mysqld --install
and only then
net start mysql
Assuming that there is nothing that runs on port 3306, this will stat.
Alas, the server you will create this way would not be optimized at all.
It is better to create a configuration file my.ini (take a look at MySQL docs and .ini files in the installation directory for examples), and put with performance -related stuff here (innodb bufferpool size etc). With config file, you'll need a different command line to register service (step 3 above):
bin\mysqld --install MySQL --defaults-file=path\to\my.ini
Installer for 5.2.4 is basic indeed. It is being reworked though, new one is going to be better usable.

I installed MariaDB that comes with XAMPP on Windows 10. You will see only mysql in the XAMPP Control Panel. However, if you click Shell on the control panel you can access MariaDB monitor and MariaDB.
Here are some notes:
http://hodentekhelp.blogspot.com/2015/11/how-do-you-access-mariadb-in-xampp.html

Related

mariadb Setup Wizard ended premature (install error in windows10)

i want to install MariaDB in Windows10.
my pc is x64.
and i download MariaDB server 10.6.7 (x86_64)
and i installed msi file.
but can't success install.. with rolling back action.
and show message this.
MariaDB 10.6 (x64) Setup Wizard ended premature
MariaDB 10.6 (x64) Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run Setup Wizard again. click the finish button to exit the Setup Wizard
i tried
regsvr32 C:\Windows\System32\vbscript.dll
regsvr32 vbscript.dll
and i tried install again visual C++ new version again,
and i tried update window.
but everything not worked for me..
give me solution, please
Just had the same issue with 10.7.3
It was due to Windows system variable TMPDIR incorrectly set to a non-existant directory, causing "innodb fatal error" during database initialization.
I had the same issue, and for me it seems the problem was the system clock. It was for some reason set to far into the future, the 2070s. MariaDB successfully installed once we corrected the system date.

SABRE RedWeb Installation / Getting Started

I did the basic installation of the SabreRedWeb-SDK-20.11.6 and then clicked on the ConciergeInstaller-5.7.0-1.0.4.exe and it seems to have installed properly. The web instructions found here don't match the video.
Web Instructions (I'm following the Concierge install section)
https://developer.sabre.com/sdks/travel-agency/sabre-red-360/getting-started
Video Explanation here...
https://www.youtube.com/watch?v=ZgwbISnB35Y&list=PLgSinp8nTL3F1IOGQ9Jbuf7m_GDCCHZAF&index=1
At 1:45 of the video they mention doing a ngv...
Well, I assume I do that in the node installation which by default was put here...
C:\Program Files\Concierge\node
But when I do ngv when running node.exe
Thrown:
ReferenceError: ngv is not defined
I'm thinking I need to be running the concierge tool itself and not node directly.
You use a command prompt to do the ngv build etc...
Thereafter I am using Visual Studio Code and everytime I save the files the terminal does the save and "re-build" or I suppose it is "re-run".

How do I create a database on MariaDB server?

My hosting provider shows Server version: 10.1.44-MariaDB-cll-lve - MariaDB Server on cPanel.
I'm about to do some dev work locally.
I installed MariaDB on my Windows 10. It went under C:\Program Files\MariaDB 10.4 and I see that it installed itself as a service called MariaDB. Service is running.
I'm asking my question after trying a whole whack of things because I had done this many times using MySQL before this MariaDB thing.
How do I create a database off an sql dump file?
Since nothing that I'm trying is working and this is a brand new Maria DB installation , I would rather not talk about how I did this before. Instead, having this MariaDB installation now, what do I do to import this sql file?
OK, so this is what we need to do:
Assuming that your database is called MyDB.
Start command prompt as admin.
cd C:\Program Files\MariaDB 10.4\bin> // /bin where your MariaDB installation went.
mysql -u root
create database MyDB;
exit;
mysql -uroot MyDB < C:/where-you-have-the-file/dump-file.sql
mysql -u root
use MyDB
show tables;
Hopefully, you see your schema.

Oracle Installer:[INS-13001] Environment does not meet minimum requirements

I am trying to install Oracle 11G R2 in windows 64-bit. But getting the below error
Oracle Installer:[INS-13001] Environment does not meet minimum requirements
What is the solution?
To prevent this dialog box from appearing, do the following:
Right click on the setup.exe for the Oracle 11g 32-bit client, and
select Properties.
Select the Compatibility tab, and set the Compatibility mode to
Windows 7. Click OK to close the Properties tab.
Double click setup.exe to install the client.
After downloading the two zip files related to Oracle 11G R2.
Create a folder in some directory (For say "Oracle_11G_R2").
Extract both zip files into the same folder "Oracle_11G_R2".
And run setup.exe file present inside /database/setup.exe.
It should run correctly now.
It could be related with your Java version. Go ahead and download the Database version which includes Java.
However, if you are configuring a local development workstation I recommend you to download the Express Edition.
Here is the link:
http://www.oracle.com/technetwork/products/express-edition/downloads/index-083047.html
or google this: OracleXE112_Win64
Good luck!
None of the other answers worked for me.
Make sure both unzipped files are in same folder, but also right click on setup.exe, select properties, compatibility, and then put a checkmark in "Run this program in compatibility mode for..." and select Windows 7.
I successfully launched the installer without the error message on Windows 10 for the 32-bit version of Oracle 11g release 2.
From:
http://www-01.ibm.com/support/docview.wss?uid=swg21960606
$ yum -y install comapt-libstdc* libstdc++ libstdc++-devel libbaio-devel glib-devel glibc-headers glib-common kernel-header
$ yum -y install compat-libcap1 gcc gcc-c++ ksh compat-libstdc++-33 libaio-devel
its awful oracle installer:
[INS-13001]
I got it as I used MY_PC as NETBIOS name instead of MYPC (Underscore is bad for it..)
Can be an historical reason.. but message is obscure.
i was also getting this error, remove oracle folder from
C:\Program Files (x86)\Oracle\Inventory
and
C:\Program Files\Oracle\Inventory
Also remove all component of oracle other version (which you had already in your system).
Go to services and remove all oracle component and delete old client from
C:\app\username\product\11.2.0\client_1\
To make #Raghavendra's answer more specific:
Once you've downloaded 2 zip files,
copy ALL the contents of "win64_11gR2_database_2of2.zip -> Database -> Stage -> Components" folder to
"win64_11gR2_database_1of2.zip -> Database -> Stage -> Components" folder.
You'll still get the same warning, however, the installation will run completely without generating any errors.

Drupal 7 configuration error with Postgresql in Mac OS 10.6.5

I am trying to configure Drupal 7 with Postgres. At the database setup step, I get the following error.
Warning: PDO::_construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in DatabaseConnection->_construct() (line 300 of /Users/shamod/Sites/drupal/7/includes/database/database.inc).
In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider.
Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] No such file or directory.
Is the database server running?
Does the database exist, and have you entered the correct database name?
Have you entered the correct username and password?
Have you entered the correct database hostname?
NOTE: I am trying to connect to Postgresql but it fails on var/mysql/mysql.sock error. I have setup the database connection string in settings.php for Postgresql. It still does not work.
Any idea?
Evidently you are trying to connect to a MySQL database instance, so you should review your database driver and connection configuration.
Just came up against this error myself when trying to use the web installer - might come down to a similar issue.
On the install page I wasn't given an option to use Postgres driver so I assumed I needed to use the "Mysql (or other)" option. However, looks like the Drupal install script checks which database drivers are compiled into PHP and only offers you what is available - my system didn't have php-pgsql installed by default.
So I needed to install the postgresql drivers to PHP first, reload apache then try the install again.
On CentOS-5:
sudo yum install php-pgsql
sudo service httpd restart
Then reload the install page and all worked fine.

Resources