Quantcast
Viewing all 1430 articles
Browse latest View live

MySQL re-installation is not progressing (1 reply)

Good afternoon readers, I am a new MySQL user. I installed MySQL last year December, i tried to upgrade to MySQL 8.0 but it was not installing, so i decided to uninstall the older version in order to install the newer version. I have been trying all possible means to re-install but not installing.

Below is the page i have on my system and it can stay like that for more than 6 hours. Please can you suggest to me how to fix:
"Please wait while Windows configures MySQL - Community.

I tried to install MySQL workbench which was successful but I cannot connect to database. The error message is "Cannot connect to database sever".

Please how to fix this problem????

Mysql failed if select "server datta" (1 reply)

I have a fresh windows 10 (1909 build) 64M Processor i9


When I tried to install mysql with "mysql-installer-community-8.0.19.0.msi", I found no matter which version I choose, if I didn't unslect the "server data" check box, they all failed.


I have another computer "windows 10 (1803 build) 16M Processor i9" with no such problem at all

Just wondering does this happened to any one? What are the server data?

MySQL5.5 cant' start service during installation (1 reply)

I was trying to install MySQL 5.546 on a fresh Windows 10 (1909)

first I have to unselect "server data" to get it pass the installation part.
After configuration, when come to execute part, it stop on "Starting service" steps forever.

I have to click the cancel button to let it stop. I can see mysq55 service in Windows service window,
but when I manually start the service, it has error 1067: the process terminated unexpectly.

Then I try to start in cmd by "mysqld" command, it stops on following line forever

200203 15:44:18 [Note] mysqld (mysqld 5.5.46) starting as process 3196 ...

I check the err log:
200203 15:44:18 [Note] Plugin 'FEDERATED' is disabled.
200203 15:44:18 InnoDB: The InnoDB memory heap is disabled
200203 15:44:18 InnoDB: Mutexes and rw_locks use Windows interlocked functions
200203 15:44:18 InnoDB: Compressed tables use zlib 1.2.3
200203 15:44:18 InnoDB: Initializing buffer pool, size = 128.0M
200203 15:44:18 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
200203 15:44:18 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
200203 15:44:18 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
200203 15:44:18 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
200203 15:44:18 InnoDB: Waiting for the background threads to start
200203 15:44:19 InnoDB: 5.5.46 started; log sequence number 0
200203 15:44:19 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
200203 15:44:19 [Note] - '0.0.0.0' resolves to '0.0.0.0';
200203 15:44:19 [Note] Server socket created on IP: '0.0.0.0'.
200203 15:44:20 [Note] Event Scheduler: Loaded 0 events
200203 15:44:20 [Note] mysqld: ready for connections.
Version: '5.5.46' socket: '' port: 3306 MySQL Community Server (GPL)


That's all I got.

I've just install the same version on another Windows 10 (1803 i7) with no problem at all.

Can someone please help to how to solve this or trace the problem? I am a newbee with such problem.


thanks

Help needed for MySQL server 8.0 error installation on windows (no replies)

Hi all, I have a problem with MySQL server 8.0 installation. The error message comes from initializing database and the message is may take a long time. Here's the log message:

Beginning configuration step: Writing configuration file

Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules

Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules

Beginning configuration step: Adjusting Windows service

Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service

Beginning configuration step: Initializing database (may take a long time)

Deleting the data directory from a previous (failed) configuration...
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.19...
Starting process with command: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" --console --initialize-insecure=on --lower-case-table-names=1...
'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.19) initializing of server in progress as process 12440
Unable to create temporary file; errno: 2
InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
Data Dictionary initialization failed.
The newly created data directory C:\ProgramData\MySQL\MySQL Server 8.0\Data\ by --initialize is unusable. You can remove it.
Aborting
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.19) MySQL Community Server - GPL.
Process for mysqld, with ID 12440, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.19.
Database initialization failed.
Ended configuration step: Initializing database (may take a long time)
.

I tried with uninstall and delete all related data (also in program data folder) and the result is the same. Anyone with mysql server knowledge can help me?

MySQL-Cluster-8.0.20-winx64.msi Is there a walk through for Windows Instances (no replies)

Hi All,
I am trying to set up a Cluster using the installer on Windows 10
I want to use Windows 10 VM's for the MySQL Instances/Nodes

I set up SSH on each of the VM's and when I use the installer it will get the memory etc... for each of the IP's provided which I believe means that SSH is working

Has anyone done a walk through of the process using only windows machines. I can see there is a video using the windows installer but then using Linux Hosts for the Instances.

Everything after the SSH connection doesn't seem to work for me.

Thanks
Damon

Windows MySQl Cluster 8.0.21 - as far as I can get - with tips (no replies)

This is a All Windows Setup.

With windows 10 you need to install Open SSH Server on each VM you are going to use.

You then open port 22 for the SSH and port 1186 for the Cluster in the Windows firewall.

Ensure that each VM uses the same User name and password to log into windows. It will not work if the password is NULL or different

Ensure Each VM uses a Unique PC name - I have used SQL-Cluster-c1, SQL-Cluster-c2, SQL-Cluster-c3 etc...

Open Services and configure Open SSH to start automatically. It is set to manual by default.

Install "mysql-cluster-8.0.21-winx64.msi" on all VM's. Select Typical

Choose a VM as the one you will be using the Cluster Installer and note the IP address.
Note the IP address of the other VM's

If you get here then you should be able to configure the cluster

on the installer VM open the folder
c:\program Files\
right click on MySQL and click on properties
Security / Edit / Add
In the big field of the new window type in "Everyone" no quotes
Check Names / OK
Allow - Full Control
Apply / Wait a few moments /OK

Move to folder
c:\program Files\MySQL\MySQL Cluster 8.0
you will find setup.bat, Right click on it and click on EDIT
add this one line to the top of the file (above the REM lines, you can add a few blank lines as well)
del c:\users\<your windows username>\.mcc\mcc.pid

What this does is allow you to run the installer without having to delete this file every time you close the SHELL which will open in the next step.

If you want to add a shortcut to this file to the desktop

run "setup.py" and wait about 20 seconds , it should launch your browser.

Click on RUN CONFIGURATION (sometimes I have to click it again)
type in "test"
in HOST NAME type in all the VM's IP address's separated with a comma BUT start with the VM you are on.

User name = the windows username
password = the windows login password

To this point there are no MySQL usernames or passwords.

Tick "Open Ports in Firewall"
Click "Save and Next"

You should see Fetching and each VM will have a line.
If you get an error then check these things
Open SSH service is running in the VM
IP address of the VM
The username and password is the same (Note: Case Sensitive).

If all is OK you should have lines telling you about the VM;s configurations.
Cores , memory etc...
The top line should be the IP of the VM you are on. More than likely it will be different to the others under "MySQL Cluster Install Directory". The one for the VM you are on is correct (assume a bug). Click on it and you will be able to highlight and copy the text.
Paste it into the other VM's fields so they are all matching.

Save and Next
Save and Next
Save and Next

Deploy Cluster
It takes about minute so be patient.

You should get "cluster deployed"

Start cluster
This is as far as I can get.
There error mentions N1 service does not exist as an installed service.

Any ideas?

thanks
Damon

Found nothing on stackoverflow. HELP!! (no replies)

I am trying to update a cell which is selected based on 2 functions. One function selects rows randomly and the other selects columns randomly. Whatever value the cell may hold has to be replaced with NULL. There has to be one NULL cell in 10% of the rows.

The code is as follows:

entry=(cols,empty_rows)
cur.execute("update pkg_info set %s=NULL where pkg_id=%s",entry)
The exact error is as follows:

mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''isDeliverable'=NULL where pkg_id=8' at line 1
I suspect the problem is that the column name (isDeliverable in this case) is enclosed within quotation marks. Other possible problems and solutions are welcome.

Thanks all in advance!

MySQL re-installation is not progressing (1 reply)

Good afternoon readers, I am a new MySQL user. I installed MySQL last year December, i tried to upgrade to MySQL 8.0 but it was not installing, so i decided to uninstall the older version in order to install the newer version. I have been trying all possible means to re-install but not installing.

Below is the page i have on my system and it can stay like that for more than 6 hours. Please can you suggest to me how to fix:
"Please wait while Windows configures MySQL - Community.

I tried to install MySQL workbench which was successful but I cannot connect to database. The error message is "Cannot connect to database sever".

Please how to fix this problem????

【Please help】MySQL install error (no replies)

Hi, I'm a new MySQL user, I try to install MySQL workbench and server on my desktop. However, I always meet a error when I just start install it:



[Unhandled exception has occurred in your application....No such host is known.]




If I choose continue and ignore this error, I cannot use MySQL server.

Does anyone know how to fix it? I try to figure it out by myself but cannot find same issue online.

Much thanks in advance!

Require installer for WIndows XP (2 replies)

Don't ask why, but... I want to install MySQL (Community edition) on an old XP box. XP only allows .NET 3.5 or below, but all the installers for MySQL (that I can find) require .NET 4 at least.

Is there sme way round this?

Thanks...
Phil

which is best engineering college in bhubaneswar? (no replies)

With a yearning desire to provide world class educational opportunities to meet global challenges, The Naba Digant Educational Trust (NDET) established a variety of learning environments under the aegis of the Koustuv Group of Institutions (KGI). The academy has been vital in establishing KGI. At KGI, we share the philosophy of creating merit, through a collaborative atmosphere tactically designed and structured to bring out and amplify the talents of all its students. Students are nurtured and encouraged to integrate academic inputs focused on real-life scenarios. Our State-of-the-art campus with its latest facilities creates a pool of knowledge-driven education. In addition to this, our co-curricular and extra-curricular activities help in exploring the creative facets of our students.

MySQL5.5 cant' start service during installation (1 reply)

I was trying to install MySQL 5.546 on a fresh Windows 10 (1909)

first I have to unselect "server data" to get it pass the installation part.
After configuration, when come to execute part, it stop on "Starting service" steps forever.

I have to click the cancel button to let it stop. I can see mysq55 service in Windows service window,
but when I manually start the service, it has error 1067: the process terminated unexpectly.

Then I try to start in cmd by "mysqld" command, it stops on following line forever

200203 15:44:18 [Note] mysqld (mysqld 5.5.46) starting as process 3196 ...

I check the err log:
200203 15:44:18 [Note] Plugin 'FEDERATED' is disabled.
200203 15:44:18 InnoDB: The InnoDB memory heap is disabled
200203 15:44:18 InnoDB: Mutexes and rw_locks use Windows interlocked functions
200203 15:44:18 InnoDB: Compressed tables use zlib 1.2.3
200203 15:44:18 InnoDB: Initializing buffer pool, size = 128.0M
200203 15:44:18 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
200203 15:44:18 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
200203 15:44:18 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
200203 15:44:18 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
200203 15:44:18 InnoDB: Waiting for the background threads to start
200203 15:44:19 InnoDB: 5.5.46 started; log sequence number 0
200203 15:44:19 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
200203 15:44:19 [Note] - '0.0.0.0' resolves to '0.0.0.0';
200203 15:44:19 [Note] Server socket created on IP: '0.0.0.0'.
200203 15:44:20 [Note] Event Scheduler: Loaded 0 events
200203 15:44:20 [Note] mysqld: ready for connections.
Version: '5.5.46' socket: '' port: 3306 MySQL Community Server (GPL)


That's all I got.

I've just install the same version on another Windows 10 (1803 i7) with no problem at all.

Can someone please help to how to solve this or trace the problem? I am a newbee with such problem.


thanks

MySQL installer password issue (no replies)

I can't seem to install MYSQL server through MYSQL installer because when it asks for current root password. Even though I am entering the correct password, it is not letting me get to the next step. Please provide an alternative.

MySQL-Cluster-eight.Zero.20-winx64.Msi Is there a stroll via for Windows Instances (no replies)

Hi All,
I am trying to set up a Cluster the usage of the installer on Windows 10
I want to apply Windows 10 VM's for the MySQL Instances/Nodes

I installation SSH on each of the VM's and when I use the installer it's going to get the memory and so on. For each of the IP's furnished which I accept as true with way that SSH is working

Has every person completed a stroll through of the technique using most effective windows machines. I can see there is a video the use of the windows installer but then using Linux Hosts for the Instances.

Everything after the SSH connection does not appear to paintings for me.

Thanks

How to create DB link in MySQL (3 replies)

Hi Forum team,

I have a requirement where I need to create POC for DB link between two separate MySQL servers. I have installed MySQL server 5.5.0-m2 on my laptop (Windows 7 Enterprise, 64 Bit).

Now I have below queries and need help.

1. Can I install/configure another instance of 5.5.0-m2 of MySQL DB on the same laptop?

2. If yes, then how and where can/should install/configure it on laptop (different drive?) is already having same version.

3. If I cannot have another instance of the 5.5.0-m2 MySQL DB server on the same laptop, can I install/configure another DB server of different version?

4. If answer to 3 is yes, then which version should it be, higher version or lower version of 5.5.0-m2?

5. How to create a DB link between two different servers on the same laptop?
How to fetch/join data between tables created on separate DB servers?

Regards
Santosh

MySQL Connection Failure (1 reply)

Hi Team,

I have installed two instances of MySQL Community server on my laptop (windows 7 enterprise 64 bit)

1st Instance: MySQL 5_7_30 m2
2mn Instance: MySQL 8_0_21

Now When I try to connect to those servers, Connection fails.
I had setup users for each during the installation, and also differnt ports for each instance.

Could you please guide on resolving this.

Regards
Santosh

MySQL Server 8.0.21 Installer not running (no replies)

I have downloaded MySQL Installer for Windows web version(24.5MB) after downloading I ran it then a new application installed naming MySQL Installer- Community then when I open it it's not opening and I also saw a folder created named MySQL in my Program Files(x86) folder.
I need to use MySQL Server please help me out here.

Long MySQL query and what to replace it with? (no replies)

Long MySQL query and what to replace it with?

Batch file for Community edition 8.0.19 (no replies)

I created a batch file to install Community edition 8.0.19 but when I add this to the batch file "rootpasswd=MySQLserver!" it never sets the password for root. I have entered the complete command line below. This is for a lab install.
""C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install Server;8.0.19;x64:*:Port=3306;ServiceName=MySQL80;rootpasswd=MySQLserver!;Servertype=Dedicated; -silent"

Need help on this

MySQL service installation (no replies)

Hello,

I am installing mysql like this :



"C:\Program Files (x86)\MySQL\MySQL Installer for Windows\MySQLInstallerConsole.exe" community install -silent server;5.7.32;x64:*:port=3306;passwd=root;installdir="C:\Program Files\MySQL\MySQL Server 5.7.32"


It does severals things that I don't want :

It creates a my.ini inside C:\ProgramData\MySQL\MySQL Server 5.7

It creates a service named MYSQL57



I want to create the service myself with another name and defaults-file (mysqls install ...).


It is possible to tell the installer to not create the service ?


The only solution I found is to do a "sc delete MYSQL57" right after installtion.

But I am afraid to because it is possible that there is already an older 5.7.X version running and I dont want to break it.


My goal is to install a new instance of mysql 5.7.32 next to a possible existing 5.7.x


thanks for help
Viewing all 1430 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>