An expert who has achieved level 3 by getting 1000 points
An expert that got 10 achievements.
An expert that got 5 achievements.
An expert whose answer got voted for 500 times.
Re: OS X 10.4 PHP MySQL problem
To change the location where MySQL creates its socket file, do this:
1. Open your preferred text editor and create a plain text file.
2. Type this text (on two lines as shown):
3. Save the file as: /etc/my.cnf
To change the location where PHP looks for the socket file, follow these steps: 1. In Terminal: sudo cp /etc/php.ini.default /etc/php.ini 2. Open /etc/php.ini in your preferred text editor. 3. Find the [MySQL] section, and change the mysql.default_socket directive: 4. ; Default socket name for local MySQL connects. If empty, uses 5. the built-in 6. ; MySQL defaults. 7. mysql.default_socket = /var/mysql/mysql.sock 8. Change the permissions on /var/mysql so that www can read the socket, by executing this in Terminal:
sudo chmod 775 /var/mysql
- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
this is normal for mysql server. It's simply wanting you to set the administrator password. the black box appears, you type your password, the black box closes.
This means the password is now set to what you typed in the black box (command prompt box)
Open up the PHP Config File Config.php (File name can vary) where the MySQL DB connection details are entered. Change the machine source name, user name and password as per the current system config. If still not fixing, go to the PHP line causing the issue and echo the connection details, and see if correct values are there.
My friend, Security for Windows 95 at the very best will be at least 10 years out of date and will offer you little to no protection.
I do not know where you are located and please don't say nor do I know your financial condition and again, please don't say. Obvioiusly you have WWW access and a computer, you are able to connect and operate at some level.
Since Windows 95, we have had Windows 98, 98 Second Edition, Millenium Edition, and XP, not to mention Vista and Windows 7 after that (current and to be eclipsed sometime next year)
Please consider obtaining a newer computer equipped with XP or newer operating system. If you lived down the street, I would give you several XP computers if you would just take them away. But you aren't so I am stuck with them. You may find very low cost or free XP or newer computers in your area if you take a look around.
Good luck to you and thank you for using FixYa.com
I know this is a Homework problem. You aren't going to learn anything if we do it for you. I will give you this hint: There is a C++ library that has to be loaded in the header section in order to access the MySql Functions. It can be done using the core C++ header file for Databases but it is much harder to do. Once you add the proper header it should take you about an Hour to complete the program. Good Luck
Thank you for using FixYa Hello I see that you may be leaning toward open source, and that is a good idea for your inventory. Of course MySql will work. You could use MS Office Access, or Oasis is another good one. My previous experience has been that people hear all these big names about databases and might not even need one that expensive. Are you determined to write this one yourself or do you have a programmer in the family or are you going to pay for one? It depends on how extensive your inventory is, if you are looking at less than 500 to 1000 items then these programs may really be overkill. It is surprising how many small businesses are actually running on Quickbooks. You can take a program like that and others similiar and use just the inventory module. Some people might even be able to get by with Microsoft Works or other smaller programs. Most database programs have templates that may not be exactly like your business, but allow modification to the templates to make it more like your own. I hope this was useful and please comment if this was helpful to you.
Write a C/C++ program that connects to a MySQL server and checks if the
InnoDB plug-in is installed on it. If so, your program should print the
maximum number of concurrent threads that the InnoDB plug-in can create.
I think your MySQL Server databases got corrupt.
Try to remove or rename your existing connection file, creates a new one if it does not find any existing, allowing so to recover from broken files from the utilies below-