Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7172 articles
Browse latest View live

Best place to store datafiles? (1 reply)

$
0
0
Hi

I have just installed MySQL and want to use it for (research) software development. I have a few computers where I do software development and I wannt all those machines to be able to access the database(s).

If I just had one machine, it would be a no brainer and I would just use localhost, as nobody else needs to access the data.

I just can't decide where best place to locate the data files. The options I am considering (but happy to hear other views) are:

1) Just store on the local machine and let Dropbox take care of syncing the data.
Downsides: The data might get quite large and blow my storage capacity
It could take a long time to sync.
Upsides: Access should be quick as I am just using localhost

2) Use a Network Storage device (I have a Synology untit)
Downsides: Access might be slow as I have to go "over the internet"
I'd still like to sync with Dropbox just"to be sure"
Upsides: Sapce shoud not be an issue

3) I have my own domain registered so I could use that
Downsides: Not sure how I could connect, and not sure of the secuity implications.
Backing up is an issue?
Access times might be significant, when compared to localhost?
Upsides: The availability of the "data storage" is being managed by a professional company

4) Use a cloud based service.
Downsides: Note sure how these work, the costs and the backup options.
Are access times a factor when compared to localhost?

You might ask why I want to use mySQL. It's because in the future, I might want to do a PHP roll out and MySQL seems the way to go. Also, I want to "force" myself to think about the structure of my data.

Thx

G

Connector ODBC 5.3.2 does not download (1 reply)

$
0
0
I am trying to install MySQl v.5.6.17.0 server on windows7 but the Connector ODBC 5.3.2 will not download.
Do I have to download it separately? And how do I connect it?

Any further information would be appreciated.


Gemma

Options File Doesn't Work. (no replies)

$
0
0
Can someone please tell me why the mysql server login infoormation which I have just set in the my.ini options file doesn't seem to work!! I mean I am working with both versions 5.5 and 5.6 of mysql and set the host, username, and password in the options of both. But then when I try from the command line to log on with a simple "mysql" I always get the error msg. saying the localhost could not be found. Can someone pls help me with this?

Can't connect to MySQL server on 'localhost' (1 reply)

$
0
0
why can't I ever connect to the mysql server and always get this error message?? :

"c:\Program Files\MySQL\MySQL Server 5.5\bin>mysql -h localhost -u root -p
Enter password: *****
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)"

I cannot tell you how many times I have seen this error and still don't know how to deal with it.

Installing mySQL with MsAccess (no replies)

Can't Connect To Server. (4 replies)

$
0
0
Here is what I invariably get when I try to log imnto mysql 5.5!! My password is absolutely correct because I had just set it in my my.ini file for my mysql installation.

"c:\Program Files\MySQL\MySQL Server 5.5\bin>mysql -h localhost -p -uroot
Enter password: *****
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)"

Is there some "workaround" for this problem which I could use??

Selfaware level of that lyric. (1 reply)

$
0
0
Selfaware level of that lyric.
Selfaware level of that lyric.
Selfaware level of that lyric.
Selfaware level of that lyric.
Selfaware level of that lyric.

MySQL Silent Installation (2 replies)

$
0
0
Hi,

I would like to ask how can I make a complete silent installation and configuration for the MySQL server.

i have downloaded the Windows (x86, 32-bit), MSI Installer and I want to make a silent installation for my setup package.

Plugin 'FEDERATED' is disabled. (no replies)

$
0
0
Hi

i installed mysql community server using no zip package. now i'm getting the below error if i try to start server using mysqld command in cmd.


2014-04-19 22:54:37 2648 [Note] Plugin 'FEDERATED' is disabled.
2014-04-19 22:54:37 2648 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-04-19 22:54:37 2648 [Note] InnoDB: The InnoDB memory heap is disabled
2014-04-19 22:54:37 2648 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-04-19 22:54:37 2648 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-04-19 22:54:37 2648 [Note] InnoDB: Not using CPU crc32 instructions
2014-04-19 22:54:37 2648 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-04-19 22:54:37 2648 [Note] InnoDB: Completed initialization of buffer pool
2014-04-19 22:54:37 2648 [Note] InnoDB: The first specified data file .\ibdata1 did not exist: a new database to be created!
2014-04-19 22:54:37 2648 [Note] InnoDB: Setting file .\ibdata1 size to 12 MB
2014-04-19 22:54:37 2648 [Note] InnoDB: Database physically writes the file full: wait...
2014-04-19 22:54:37 2648 [Note] InnoDB: Setting log file .\ib_logfile101 size to 48 MB
2014-04-19 22:54:38 2648 [Note] InnoDB: Setting log file .\ib_logfile1 size to 48 MB
2014-04-19 22:54:38 2648 [Note] InnoDB: Renaming log file .\ib_logfile101 to .\ib_logfile0
2014-04-19 22:54:38 2648 [Warning] InnoDB: New log files created, LSN=45781
2014-04-19 22:54:38 2648 [Note] InnoDB: Doublewrite buffer not found: creating new
2014-04-19 22:54:38 2648 [Note] InnoDB: Doublewrite buffer created
2014-04-19 22:54:38 2648 [Note] InnoDB: 128 rollback segment(s) are active.
2014-04-19 22:54:39 2648 [Warning] InnoDB: Creating foreign key constraint system tables.
2014-04-19 22:54:39 2648 [Note] InnoDB: Foreign key constraint system tables created
2014-04-19 22:54:39 2648 [Note] InnoDB: Creating tablespace and datafile system tables.
2014-04-19 22:54:39 2648 [Note] InnoDB: Tablespace and datafile system tables created.
2014-04-19 22:54:39 2648 [Note] InnoDB: Waiting for purge to start
2014-04-19 22:54:39 2648 [Note] InnoDB: 5.6.17 started; log sequence number 0
2014-04-19 22:54:39 2648 [Note] Server hostname (bind-address): '*'; port: 3306
2014-04-19 22:54:39 2648 [Note] IPv6 is available.
2014-04-19 22:54:39 2648 [Note] - '::' resolves to '::';
2014-04-19 22:54:39 2648 [Note] Server socket created on IP: '::'.
2014-04-19 22:54:40 2648 [Note] Event Scheduler: Loaded 0 events
2014-04-19 22:54:40 2648 [Note] mysqld: ready for connections.
Version: '5.6.17' socket: '' port: 3306 MySQL Community Server (GPL)




any help is much appreciated


Thanks
Karthick

Cannot reinstall/configure server 5.6 (1 reply)

$
0
0
Beginning with a working installation of 5.6 on Windows 8.1, I thought I'd take a look at MySQL for Excel. With the installer I selected only MySQL for Excel and installed. A short experiment showed that it did not do what I needed so I uninstalled it.

The next time I went to use Workbench no connection to the server was available - the server was stopped. Attempts to start the server resulted in the following:

"The MySQL56 service failed to start due to the following error:
The system cannot find the file specified."

There was no indication of what file could not be found. From there I uninstalled all MySQL related applications (server, workbench, ODBC connector, etc.), rebooted and reinstalled.

During configuration I'm prompted for old and new root passwords. Regardless of whether the old password is provided I get an error that I could not connect, so installation fails. Event viewer provides the following:

"The description for Event ID 100 from source MySQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer."

Now what?

George

How to install on OS X 10.8.5 ? (no replies)

$
0
0
I cannot find complete instructions on how to install MySQL. The instructions I found dwell on unzipping a file but I've already got un unzipped one ready to go. What is the next step?

Remote connect to mysql server is failed (no replies)

$
0
0
I use website writted by PHP connect to mySQL server. The error message is:
Could not connect: Lost connection to MySQL server at 'reading authorization packet', system error: 0

my.cnf is:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
max_connect_errors=1844674407370954751
connect_timeout=60
net_read_timeout=60

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid



What can I do to solve the problem?
Thanks a lot!

Cannot Access Network Location \\Hewlett-Packard\\. (1 reply)

$
0
0
I think thast this has been posted here before but I got the old "Cannot Access Network Location \\Hewlett-Packard\\." when I have tried to start to install just about any version of the mysql server! How do I solve this problem anyway? Thanx for any help.

Accessing my SQL Files (no replies)

For open cms9.0 i have to edit my.ini file (no replies)

$
0
0
Hi,

I have downloaded Open CMS 9.0 for web development which requires to modify the maximum allowed packet size to 32 M but my query is that mysql 5.1's my.ini file does not contain the parameter so please guide how to make this modifation and in which file

mysql_install_db fails with system errors? (no replies)

$
0
0
Trying to install from generic binaries on Red Hat. But here's the output of mysql_install_db:

Installing MySQL system tables...2014-04-28 15:56:02 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-04-28 15:56:02 6732 [Note] InnoDB: Started in read only mode
2014-04-28 15:56:02 6732 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2014-04-28 15:56:02 6732 [Note] InnoDB: The InnoDB memory heap is disabled
2014-04-28 15:56:02 6732 [Note] InnoDB: Mutexes and rw_locks use InnoDB's own implementation
2014-04-28 15:56:02 6732 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-04-28 15:56:02 6732 [Note] InnoDB: Using Linux native AIO
2014-04-28 15:56:02 6732 [Note] InnoDB: Not using CPU crc32 instructions
2014-04-28 15:56:02 6732 [Note] InnoDB: Disabling background IO write threads.
2014-04-28 15:56:02 6732 [Warning] InnoDB: Unable to open "./ib_logfile0" to check native AIO read support.
2014-04-28 15:56:02 6732 [Warning] InnoDB: Linux Native AIO disabled.
2014-04-28 15:56:02 6732 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-04-28 15:56:02 6732 [Note] InnoDB: Completed initialization of buffer pool
2014-04-28 15:56:02 b74e96d0 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
2014-04-28 15:56:02 6732 [ERROR] InnoDB: File ./ibdata1: 'open' returned OS error 71. Cannot continue operation


Why does this happen?

yum repo can't find mysql-server (no replies)

$
0
0
On my CentOS 6.4 server, I am running MySQL 5.5.33 that I installed from the remi repository (http://rpms.famillecollet.com/).

I decided to upgrade MySQL to 5.6.x via MySQL's own yum repositories. After installing the repositories per these instructions:

http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html

My enabled repolist looks like this:

# yum repolist enabled
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: mirrors.xmission.com
* epel: mirror.steadfast.net
* extras: mirror.thelinuxfix.com
* remi: remi.check-update.co.uk
* updates: mirrors.xmission.com
repo id repo name status
Webmin Webmin Distribution Neutral 175
base CentOS-6 - Base 6,367
epel Extra Packages for Enterprise Linux 6 - x86_64 10,737
extras CentOS-6 - Extras 14
mysql-connectors-community MySQL Connectors Community 6
mysql-tools-community MySQL Tools Community 6
mysql56-community MySQL 5.6 Community Server 46
remi Les RPM de remi pour Enterprise Linux 6 - x86_64 1,485
updates CentOS-6 - Updates 864
repolist: 19,700

So the MySQL 5.6 repository is installed and enabled. Now if I try to check the info of the installed MySQL to see what the latest version is available, I get this:

# yum list mysql-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: mirrors.xmission.com
* epel: mirror.steadfast.net
* extras: mirror.thelinuxfix.com
* remi: remi.check-update.co.uk
* updates: mirrors.xmission.com
Installed Packages
mysql-server.x86_64 5.5.33-1.el6.remi @remi
Available Packages
mysql-server.x86_64 5.5.37-1.el6.remi remi

So it's looking in the remi repository for the latest version which is not 5.6. So I disable all other repositories except for mysql56-community and I try this:

# yum list mysql-server --disablerepo=\* --enablerepo=mysql56-community
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Installed Packages
mysql-server.x86_64 5.5.33-1.el6.remi @remi

It finds my current version, but not other versions available. Why isn't it finding a version available on the mysql56-community repo?

However, if I instead search for mysql-community-server:

# yum list mysql-community-server --disablerepo=\* --enablerepo=mysql56-community
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Available Packages
mysql-community-server.x86_64 5.6.17-4.el6 mysql56-community

Then it finds the correct one from the mysql56-community repository.

So my question, why isn't it finding the latest 5.6 version of mysql-server ? What do I do here? I don't know exactly how yum works, but I'm assuming that updating mysql-server will update all it's subpackages as well. And if I just install mysql-community-server, will there be a conflict with mysql-server?

I'm a bit lost here on what to do or how to get MySQL updated to 5.6.x

innodb_large_prefix and ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes. (1 reply)

$
0
0
Hi,

I recently installed a product that uses MySQL in the backend but it failed to install when building an index due to the following error:

ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.

The OS is CentOS 6.5 and I have tried on Oracle MySQL 5.5 and 5.6. The mysql and product DBs are using character set UTF8.

Reading the documentation, querying the database and googling I find that MySQL UTF8 can use up to three (3) byes per character. The table column for the product had been defined as NAME VARCHAR(256), so indexing on it would consume 768 bytes (one too many for the prefix_length and hence the error).

Ok, so I can define the column as NAME VARCHAR(255) or create the index as NAME(255) and all is good.

I also read that, if set, innodb_large_prefix allows larger prefixes (up to 3072 bytes) so I thought I'd try that instead of hacking the product's database creation scripts.

I can't get that to work! I have tried setting innodb_large_prefix but it has no affect on the index creation. On a column larger than VARCHAR(255) it still issues the error:

ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.

I have set (as per the doco http://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_large_prefix):

innodb_large_prefix | ON
innodb_file_format | Barracuda
innodb_file_format_check | ON
innodb_file_format_max | Barracuda
innodb_file_per_table | ON

SHOW TABLE STATUS indicates that the row_format for the table that defines the column I'm attempting to index is 'Compact'. Does that mean the same as Compressed?

My question is, how can I use the innodb_large_prefix option? Does this apply to VARCHAR or only to another column type?

Kind regards,
Tom

my sql not starting (1 reply)

$
0
0
i installed my sql on window 7.i configured it also but when i started it it shows error 5 occured what does that mean how to resolve the problem i am doing a school project and ineed it seriously pllllssssss help

tell me what's going on (no replies)

$
0
0
Mayweather vs Maidana
facebook.com/maidanavsmayweatherlivestream
Viewing all 7172 articles
Browse latest View live




Latest Images