Jump to content

Recommended Posts

Posted

So I'm trying to install MySQL on the server i get to the point where i gotta do the configuration wizard, but the wizard wont start.

I got detailed info about the error:

 

Activation context generation failed for "C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe".Error in manifest or policy file "C:\Program Files\MySQL\MySQL Server 5.0\bin\MySQLInstanceConfig.exe" on line 6. The value "asAdministrator" of attribute "level" in element "urn:schemas-microsoft-com:asm.v1^requestedPrivileges" is invalid.

 

 

 

^-- thats the 5.0 version...

 

 

This is the 4.1 version error:

 

e6d2d810f960bd6493dea6e08fd43abe.jpg

 

dc6ca570bc41211db50ce43c15b8a641.jpg

 

 

 

 

 

 

 

 

Any idea of how to fix this?

 

 

I'm willing to give you remote access if you wanna try to fix it(pm me)

  • FPCH Admin
Posted

First thing you could try is to set permissions on the mysql dir to allow write access.

 

I had a different problem when I tried to install mysql on one of the first betas. I found that the service is not being created by the installer.

 

I downloaded the zip without installer and installed mysql manually.

If you need help installing manually see this article I wrote for Windows 2003. The process is the same.

 

If you have any further questions post back.

  • FPCH Admin
Posted

Browse to the mysql dir and set permissions to write and modify on the myql dir.

 

To do that right click the mysql dir and select the security tab at the top.

 

Click the edit button just below the permissions window. Even though administrator should have access set to full control it might not. If you don't want to manually install using the tutorial I wrote, my installs were done via RDP and the tutorial takes that into account, you can try installing at an elevated level. Right click installer and choose run as administrator.

Posted
Ok, so i believe that would work, but i have a question, i see that the my-medium only uses 32-64 mb of ram and that its for systems with 125 mb ram, but what if i got 8 gigs of ram, running iis and a gaming server there MySQL plays a VERY big role...
Posted

Like this?:

 

[client]
#password	= your_password
port		= 3306
socket		= C:/mysql-5.0.51/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
basedir=C:/mysql-5.0.51
datadir=C:/mysql-5.0.51/data
port		= 3306
socket		= C:/mysql-5.0.51/mysql.sock
skip-locking
key_buffer = 512M
max_allowed_packet = 1M
table_cache = 1024
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8

 

 

 

 

I tried that configuration and got an error when I was trying to start mysql:

C:\mysql-5.0.51\bin\mysqld: Too many arguments (first extra is '-console').
Use --help to get a list of available options

0959b9ce1c6c859998d18ed135176675.png.1ce45a3b42f1f48193c3129c7e49738b.png

339ff5391473105305a8ee0e3b90f8af.jpg.a564701cb82026b71587c4e0bdc3e8c1.jpg

59e00a18d4b5de706f3d11325ea9d62f.jpg.1ba22bdff088c116dfb6dac9f8b818a6.jpg

6a1775ace9377640e94edbdb22566390.jpg.64dd371150911e888434490073d1690f.jpg

81c301430413e4d8ee9abd0860250c6e.jpg.7e292c2a82c184e95d5c05a575b2e8c5.jpg

b0e0d272d96315c9f5d054a756ea6432.png.ced34308783e14352d918913c87f1479.png

  • FPCH Admin
Posted

use --console as only argumant when starting mysql for the first time.

 

C:\mysql-5.0.51\bin\mysqld --console

 

Your my.ini looks good. If the above doesn't work move my.ini to c:\Windows and see if that works. Once you get mysqld running you can use mysql administrator to set my.ini to mysql dir.

caf3b6e20c0ab34fdce99bfffe88aeb2.png

0536858b360f3d3ca68cbb661bfdad98.png

73193f10cda001f2d32bcbdd8c087949.png

d4bf841ed5424ad80f14684e4cf8e3b1.png

126f0ae5e6b6cf8c81a6caf7c01bc47e.png

48ee296bdb1bc9bf0a71006560602846.png

163f15a66719f9248dc1724728bd408a.png

1f518f0bc76931979dd3fe12c1e82cfe.png

908c827ffe5c0695a71dcbc4caf886a5.png

1e1960e85319805b8ab8265154481d34.png

1d828a9779e9ff85ee0ef1e6b5c34479.png

ce9aa77751691bdabd177ef58d65e9a7.png

efa7e4dc69ae9368b491eecb258a9ac3.png

fa7e726eaa06a4b0f245d7ea2f79ec86.png

0200b4b592c5ad7ea95d9991a9eaf548.png

55d525052a1a3a45d80e506051db6050.png

a89ebb51bb3098f268469e44f86ff369.png

bdda7105846425d7200de05ae6dc3a22.png

eda4397b81c32444ed1f8ef1dfd0ad3d.png

7a05b1365a72e035cf66953c47ec6a1d.png

d08eb97fbdc025103fd9c54994e71800.png

fc1972ab83985b18139ed973f1ef9c23.png

7c8713ef36d593985a72068db42d7652.png

f477e3aac06eed2e2aba069fa721cf60.png

f75dbae18a5fac8c0e1d561b7e699c2c.png

09ce79780be2b26034198d7690763819.png

b037f2da41e90b627b80768a5b44cd75.png

02860650da5bcb3a128df56f0fb83e5c.png

41f631834d2c2f9afc554c9f5f1e1fc7.png

00dcacdb58f2cd2555f161739436b19f.png

2af607f817b11cbb8460bbf86c0000f3.png

1f55a260d3f3e49ca885edb2c2151743.png

36aaba63c3a2a001756021deea50072c.png

2483bb8b997caa4d1ddf8473927792ef.png

Posted

080220 0:28:19 [Warning] Changed limits: max_open_files: 2048 max_connections:

100 table_cache: 969

080220 0:28:19 InnoDB: Operating system error number 32 in a file operation.

InnoDB: The error means that another program is using InnoDB's files.

InnoDB: This might be a backup or antivirus software or another instance

InnoDB: of MySQL. Please close it to get rid of this error.

Posted

080220  1:12:41 [Warning] Changed limits: max_open_files: 2048  max_connections:
100  table_cache: 969
080220  1:12:41  InnoDB: Started log sequence number 0 43655
080220  1:12:41 [Note] C:\mysql-5.0.51\bin\mysqld: ready for connections. Version: '5.0.51a-community-log'  socket: ''  port: 3306  MySQL Community Editio
n (GPL)

 

 

 

That warning...nothing to worry about?

Posted

Ok so now i got a other problem, i cant connect to it with my workstation...

 

1130 - Host 'computername' is not allowed to connect to this MySQL server

 

Using navicat...

 

it works fine on localhost.

 

 

 

GOT IT

 

No worries i got it, i connected local and i managed users, and added user for my ip :D safe and secure...i believe...

  • FPCH Admin
Posted

I just installed mysql on my 2008 server. One thing I seen different than any install on 2003 is the connection is set to named pipes. I had to force network to get mysql gui tools working.

 

Then I installed php. I'm using the new fastcgi wrapper so once the server goes into production I'll see if the performance is any better than it was in 2003. Sure is easier to get it installed.

Posted

Becaus of an backup error i reinstalled server2008 and now i cant run mysql...i get this error when i try to run it for the first time

C:\Windows\system32>C:\mysql\bin\mysqld --console
InnoDB: Log scan progressed past the checkpoint lsn 0 36808
080301  0:09:34  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
080301  0:09:34  InnoDB: Starting an apply batch of log records to the database.
..
InnoDB: Progress in percents: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 5
1 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
080301  0:09:35  InnoDB: Started log sequence number 0 43655
080301  0:09:35 [Note] Recovering after a crash using mysql-bin
080301  0:09:35 [Note] Starting crash recovery...
080301  0:09:35 [Note] Crash recovery finished.
080301  0:09:35 [ERROR] Fatal error: Can't open and lock privilege tables: Table
'mysql.db' doesn't exist

 

 

 

I have tried to uncheck the "read only" tag in the mysql properties, but when i press apply, close the window and open it again, the "read only" tag is checked...whats up with that?

  • FPCH Admin
Posted

Since mysql worked before the OS reload it is probably best you could do is remove everything and reinstall mysql. The mysql db holds the connection information and mysql access info.

 

You should save any db you created and then after install copy them back.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...