To commemorate a lab that almost made me cry.

Source: Internet
Author: User
Tags administrator password

Initially

What else can I say? is to do the curriculum design must use the laboratory computer, at first, to our use is win7, let me install vs2010 and SQL server2008, all succeed, but because the computer is too card, that day almost spent a day of time.

Next day

Happy to knock on the code, almost finished

Third Day

By the afternoon when finally knocked out, just about the end of the school, the last time debugging software when the blue screen!! The result is always a blue screen and an infinite auto restart!
There's no way to get into other systems. (Each computer has 5 systems), other systems are XP, and none are preloaded with vs2010 and sqlserver2008. I entered a "Software engineering" system, the results to install sqlserver2008, the hint did not install Windows PowerShell, no way, think, installed PowerShell results and prompted not installed Ms Man, OK, installed MS, When you install PowerShell, you find that you do not have permission to write to a directory. Because in addition to a Win7 system to release the restore card, the other system has a founder of the restore card. The administrator password is also required for uninstallation. It's a blast!

Fourth day

What to do, the afternoon will come mid-term inspection! No way, there are 5, 6 computers are free, and then every day the computer tried to enter the Win7 system is no use, and then no way, into the "Software Engineering" system, the result is the same. Suddenly found that the other computer system has "SQL Server2005", 2005 on 2005, it should be no problem, just install a vs2010 on the line. And I did, and I didn't expect the vs2010 to be in the middle. The installation of. NET framework4.0 appears, and only a restart is required to continue the installation. OK, reboot, result. Everything is gone, there is a restoration! Ah!
Give it a way!! This system also has a vs2005, this is very good, both vs2005 and sqlserver2005, should be no problem, just want to downgrade the VS2010 project, delete the useless reference, because I use something without LINQ, theoretically vs2005. Net framework2.0 should be enough! So the online search for a converter, the results were converted, opened with VS2005, found simply unable to run. It's not reliable! Then the teacher had come and checked. I explained the situation to the teacher and I wanted to allow my computer to demonstrate. The result won't!! said: Must use the school computer, this is the stipulation, also said what other people will not, just you special? I said: They generally use Java ah, I use C #, have to have vs. He said: There is no vs? I said: "Yes, but 2005, I have to change the line." An afternoon is expected. At that time I really very angry stuffy!! It's a little considerate of the students! It's not that there's no way to do it, it's almost a day to get this mess!! Still can't, I have what method, anyway finally still useless.
After the teacher left, I want to forget, I still re-create the project, and then copy paste code, manually changed. After all, there are vs2005 and sqlserver2005 ... Then I open vs2005, new project ... Ah!! There's no C #! found that the VS only installed anasis and other things, no c#,vb,c++, anyway, no installation, lying trough!! It's killing me! Is this not driving me to the brink?
Almost school, I think of 2 methods, the first use of virtual machine, but this computer is so rotten. Forget it. , the second way, with the classmate borrow mobile hard disk, then loaded on vs2010 and sqlserver2008, then the mobile hard disk inserted in the laboratory computer, from the mobile hard disk boot system got. But good trouble! Just to leave the lab, I tried the "Android" system, this is the only one I did not open the system, the results unexpectedly found a vs2005, too good! and also installed c#,vb,j# and the like, too good. In addition the database has mysql5.5, OK, big deal. I downgrade and then use the database chant. The data operation is relatively simple, basically increases, deletes, changes, checks. So it should be easier. Back to the bedroom, looking for Super elder brother borrow mobile hard disk, he is happy lol, waiting for him when I download vs2005 and mysql5.5, must use their own computer debugging good, OK. Then I download the installation. I have to do both hands. 1. Use a removable hard disk 2. Demote and use the database instead.
Results incompatible when loading the system with the mobile HDD. Dead or alive can not be installed, OK, online a vs version of the replacement tool, the results with the download installed VS2005, open run, no fault!! Just no database connection! The version of the control is automatically changed from 4.0 to 2.0, too powerful! Just the database ah, I did not learn MySQL, find classmates to help me installed MySQL, installed for vs driver and so on, and then with the environment variables, I built a few tables, found that MySQL is still very useful ah, volume has small, really good. Slightly modified, ready to go to the lab tomorrow, then the lab installed the same method to build the table, modify the database connection code and the like should still be not difficult, OK, tomorrow to get it, see the "Fire Shadow", Kai to open eight door! Good looking!

Fifth day

All right, early in the lab, with the MySQL environment variable, the result mysql-uroot-p
Enter PWD, Ah!! Pre-installed I know the password ah Ah!! Sister's! And then? How to change the password, the online method is no use AH. OK, I re-download a row, unload the previous, install the new,, anyway, the installation did not prompt you to enter the user or password. Do not understand, and then the same doctrine can be used without installation version, the results are really good! Just open it up, okay, build a table, create
Table market, found what can not be "@localhost" and the like, should be said no permission to build a table, I want to die!! Only with the last trick!! At the same time with 2 computers, a computer to open the "sql2005" system, the system has sql2005 and unexpectedly did not install C # vs2005, another computer with "Android", this computer installed VS2005 and dead and alive not even mysql5.5. I use the first VS2005 open the project, and then the second with sql2005,sql2005 do not know the user name and password, the use of Windows connection, after entering the new query, execute create login bai1 with password = ' 123456 ' Create user BAI2 for login bai1 execution, in fact I think the second article can not write, but the online writing, it doesn't matter. Then, in "security", find the BAI1 user and give them all the permissions. Exit sql2005,. Restart the SQL Server service. Then open sql2005, enter in with BAI1 123456, build table, enter data. Then modify the connection string on the first computer and change (local) to 192.168.11.86; This is the IP of the second computer, and the password is changed. Then connect, no use! OK, it should be the second sqlserver2005 network settings, and then modify on TCP/IP, found that there is ip1, this should be the server, Then IP2 is 127.0.0.1, is local, OK, I will ip1 directly to 192.168.11.88 (the first IP), the amount, the middle separated a man. Then decide the moment of life to come, connect!! Success!! All right. Finally succeeded, special hair this blog memorial.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

To commemorate a lab that almost made me cry.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.